HH\ImmSet::toKeysArray

Returns an array containing the values from the current ImmSet.

Description

public function toKeysArray(): array<Tv>

Returns an array containing the values from the current ImmSet.

Sets don't have keys. So this method just returns the values.

This method is interchangeable with toValuesArray().

Return Values

Examples

See Set::toKeysArray for usage examples.