public function whereInStrict($key, $values) { return $this->whereIn($key, $values, true); }
public function testWhereInStrict() { $c = new Collection([['v' => 1], ['v' => 2], ['v' => 3], ['v' => '3'], ['v' => 4]]); $this->assertEquals([['v' => 1], ['v' => 3]], $c->whereInStrict('v', [1, 3])->values()->all()); }