Filters the array items by the given key is not contains given value.

/**
 * Filters the array items by the given key is not contains given value.
 *
 * @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 whereNotContains(string $key, $value): self

Examples

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

Getting Started

Methods