HH\ImmSet::keys

Returns an ImmVector containing the values of this ImmSet.

Description

public function keys(): ImmVector<mixed>

Returns an ImmVector containing the values of this ImmSet.

ImmSets don't have keys, so this will return the values.

This method is interchangeable with toImmVector() and values().

Return Values

Examples

See Set::keys for usage examples.