<TKey, T>
public
has(TKey $key): bool
Checks if the collection has an item with the specified key.
Nexus\Collection\Collection::has()