UNPKG

moy-fp

Version:
24 lines (20 loc) 379 B
import __ from '../../src/Function/__' /** * * -> Boolean */ import not from '../../src/Logic/not' test('not(not using __), return true', () => { expect( not('') ).toBeTruthy() }) test('not(not using __), return false', () => { expect( not('murakami') ).toBeFalsy() }) test('not(using __), return true', () => { expect( not(__)('') ).toBeTruthy() })