Skip to main content
Module

x/rambda/source/and.spec.js

Faster and smaller alternative to Ramda
Go to Latest
File
import {and} from './and'
test('happy', () => { expect(and(1, 'foo')).toBe('foo') expect(and(true, true)).toBeTrue() expect(and(true)(true)).toBeTrue() expect(and(true, false)).toBeFalse() expect(and(false, true)).toBeFalse() expect(and(false, false)).toBeFalse()})