Do nothing
let a: undefined = call()
Run now
let b: 0 = call(() => 0)
Call function
let a: undefined = call()
let b: 0 = call(() => 0)
let c: 1 = call(1, v => v)
let d: 3 = call(1, 2, (a, b) => a + b)
Use a value and make a mapping
Use value and do something extra
Do nothing
let a: undefined = collect()
Collect Iterable or Generator
let b: 1 = collect(function* () { yield 1 })
Call function
let a: undefined = collect()
let b: 1 = collect(function* () { yield 1 })
let c: [1, 2, 3] = collect(1, 2, 3, function* (a, b, c) { yield* [a, b, c] })
Generated using TypeDoc
Run now