UNPKG

functionfoundry

Version:
12 lines (10 loc) 276 B
import test from 'tape' import error from '../src/error' import isna from '../src/isna' test('isna', (t) => { t.plan(4) t.equal( isna( error.na ), true) t.equal( isna( error.value ), false) t.equal( isna( 'error.na' ), false) t.equal( isna( new Date() ), false) })