fx-flow v0.7.0 / pipe/lazy / values
Function: values()
values<
A
>(args
):Generator
<A
[Extract
<keyofA
,string
>],void
,unknown
>
Returns an iterator of the own enumerable string keyed property values of object.
Type parameters
• A extends Record
<string
, unknown
>
Parameters
• args: A
Returns
Generator
<A
[Extract
<keyof A
, string
>], void
, unknown
>
Example
typescript
[...values({ a: 1, b: "2", c: true })]
// [1, "2", true]