Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Function decorators
const not = fn => x => !fn(x)
const some = x => x != null
const notAtAll = x => !some(x)
// or
const notAtAll = x => not(some)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.