x/rambda/source/unless.js
1234567891011import { curry } from './curry.js'function unlessFn( predicate, whenFalseFn, input){ if (predicate(input)) return input return whenFalseFn(input)}export const unless = curry(unlessFn)