Skip to content

holepunchto/bare-type

Repository files navigation

bare-type

Cross-realm type predicates for Bare.

npm i bare-type

Usage

const type = require('bare-type')

if (type(123).isNumber()) {
  console.log(123, 'is a number')
}

License

Apache-2.0