x/rambda/or.spec.js
123456789import { or } from './or'test('happy', () => { expect(or(0, 'foo')).toBe('foo') expect(or(true, true)).toBeTrue() expect(or(false)(true)).toBeTrue() expect(or(false, false)).toBeFalse()})