Filters the array items by the given key value pair.

/**
 * Filters the array items by the given key value pair.
 *
 * @param string $key   Key of the array for comparison.
 * @param mixed  $value Value used for comparison.
 *
 * @return self Returns instance of The Arrays class.
 */
public function whereNotIn(string $key, $value): self

Examples

$result = Arrays::create([
            0 => ['title' => 'FòôBar'],
            1 => ['title' => 'BarFòô'],
        ])->whereNotIn('title', ['FòôBar'])
          ->toArray();
);

Getting Started

Methods