HH\ImmSet::toArray

Returns an array containing the values from the current ImmSet.

Description

public function toArray(): array<Tv,Tv>

Returns an array containing the values from the current ImmSet.

For the returned array, each key is the same as its associated value.

Return Values

Examples

See Set::toArray for usage examples.