UNPKG

functionfoundry

Version:
10 lines (8 loc) 221 B
import test from 'tape' import isboolean from '../src/isboolean' test('isboolean', (t) => { t.plan(3) t.equal( isboolean( true ), true) t.equal( isboolean( false ), true) t.equal( isboolean( 'false' ), false) })