Compose an array of exactly 3 functions from top to bottom (left to right).
Returns the fallback if x is null or undefined.
fallback
x
pipe2, pipe4
pipe2
pipe4
pipe3(['fallback'])([x => x / 2, y => y.toString(), z => [z, z]])(42)// => ["21", "21"]pipe3(['fallback'])([x => x / 2, y => y.toString(), z => [z, z]])(undefined)// => ["fallback"] Copy
pipe3(['fallback'])([x => x / 2, y => y.toString(), z => [z, z]])(42)// => ["21", "21"]pipe3(['fallback'])([x => x / 2, y => y.toString(), z => [z, z]])(undefined)// => ["fallback"]
Generated using TypeDoc
Compose an array of exactly 3 functions from top to bottom (left to right).
Returns the
fallback
ifx
is null or undefined.