Skip to main content
Module

x/rambda/isNil.spec.js

Faster and smaller alternative to Ramda
Go to Latest
File
import { isNil } from './isNil'
test('happy', () => { expect(isNil(null)).toBeTrue()
expect(isNil(undefined)).toBeTrue()
expect(isNil([])).toBeFalse()})