Skip to main content
Module

x/rambda/source/anyFalse.spec.js

Faster and smaller alternative to Ramda
Go to Latest
File
import {anyFalse} from './anyFalse'
test('when true', () => { expect(anyFalse(true, true, false)).toBeTruthy()})
test('when false', () => { expect(anyFalse(true, true)).toBeFalsy()})
test('supports function', () => { expect( anyFalse( true, () => true, () => false ) ).toBeTruthy()})