Function: values()
values<
Value
>(object
):Iterable
<Value
,any
,any
>
Returns an iterable containing the values of object
.
This differs from Map.prototype.values
and Set.prototype.values
in that
the returned iterable can be iterated multiple times and differs from
Object.values
in that the returned iterable is opaque.
Type Parameters
• Value
Parameters
• object: ReadonlyMap
<unknown
, Value
> | ReadonlySet
<Value
> | Readonly
<Record
<string
| number
| symbol
, Value
>>
Returns
Iterable
<Value
, any
, any
>