<TKey, T>
public
filterKeys(null|(Closure(TKey): bool) $predicate = null): CollectionInterface<TKey, T>
Returns a new collection from keys where $predicate returns true. If $predicate is not provided, this will just check for non-falsey keys.
$predicate
true
Nexus\Collection\Collection::filterKeys()