uniqueStrict() public method

Return only unique items from the collection array using strict comparison.
public uniqueStrict ( string | callable | null $key = null ) : static
$key string | callable | null
return static
 public function testUniqueStrict()
 {
     $c = new Collection([['id' => '0', 'name' => 'zero'], ['id' => '00', 'name' => 'double zero'], ['id' => '0', 'name' => 'again zero']]);
     $this->assertEquals([['id' => '0', 'name' => 'zero'], ['id' => '00', 'name' => 'double zero']], $c->uniqueStrict('id')->all());
 }