fx-flow v0.7.0 / pipe/lazy / entries
Function: entries()
Convert object to iterator.
Type parameters
• A extends AnyObject
Parameters
• args: A
Returns
Example
typescript
const iterator = entries({a: 1, b: 2})
iterator.next().value = ['a', 1]
iterator.next().value = ['b', 2]
iterator.next().done = true