We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fork
fork([1, 2, get('a')])({ a: 3 }) // [1, 2, 3] fork({ a: 1, b: 2, c: get('hello'), })({ hello: 'world' }) // { a: 1, b: 2, c: 'world' }
if all items of the argument object or array to fork are values, fork returns a value (non function)
fork({ a: Promise.resolve(1), b: 2, c: 'hello', }).then(console.log) // { a: 1, b: 2, c: 'hello' } fork([ Promise.resolve(1), 2, 'hello', ]).then(console.log) // [1, 2, 'hello']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
if all items of the argument object or array to fork are values, fork returns a value (non function)
The text was updated successfully, but these errors were encountered: