Package Exports
- @thi.ng/checks
- @thi.ng/checks/exists
- @thi.ng/checks/exists-not-null
- @thi.ng/checks/has-bigint
- @thi.ng/checks/has-crypto
- @thi.ng/checks/has-max-length
- @thi.ng/checks/has-min-length
- @thi.ng/checks/has-performance
- @thi.ng/checks/has-wasm
- @thi.ng/checks/has-webgl
- @thi.ng/checks/has-websocket
- @thi.ng/checks/implements-function
- @thi.ng/checks/is-alphanum
- @thi.ng/checks/is-array
- @thi.ng/checks/is-arraylike
- @thi.ng/checks/is-ascii
- @thi.ng/checks/is-async-iterable
- @thi.ng/checks/is-blob
- @thi.ng/checks/is-boolean
- @thi.ng/checks/is-chrome
- @thi.ng/checks/is-data-url
- @thi.ng/checks/is-date
- @thi.ng/checks/is-even
- @thi.ng/checks/is-false
- @thi.ng/checks/is-file
- @thi.ng/checks/is-firefox
- @thi.ng/checks/is-float-string
- @thi.ng/checks/is-function
- @thi.ng/checks/is-hex
- @thi.ng/checks/is-hex-color
- @thi.ng/checks/is-ie
- @thi.ng/checks/is-in-range
- @thi.ng/checks/is-int-string
- @thi.ng/checks/is-int32
- @thi.ng/checks/is-iterable
- @thi.ng/checks/is-map
- @thi.ng/checks/is-mobile
- @thi.ng/checks/is-nan
- @thi.ng/checks/is-negative
- @thi.ng/checks/is-nil
- @thi.ng/checks/is-node
- @thi.ng/checks/is-not-string-iterable
- @thi.ng/checks/is-null
- @thi.ng/checks/is-number
- @thi.ng/checks/is-numeric
- @thi.ng/checks/is-object
- @thi.ng/checks/is-odd
- @thi.ng/checks/is-plain-object
- @thi.ng/checks/is-positive
- @thi.ng/checks/is-primitive
- @thi.ng/checks/is-promise
- @thi.ng/checks/is-promiselike
- @thi.ng/checks/is-proto-path
- @thi.ng/checks/is-regexp
- @thi.ng/checks/is-safari
- @thi.ng/checks/is-set
- @thi.ng/checks/is-string
- @thi.ng/checks/is-symbol
- @thi.ng/checks/is-transferable
- @thi.ng/checks/is-true
- @thi.ng/checks/is-typedarray
- @thi.ng/checks/is-uint32
- @thi.ng/checks/is-undefined
- @thi.ng/checks/is-uuid
- @thi.ng/checks/is-uuid4
- @thi.ng/checks/is-zero
Readme
This project is part of the @thi.ng/umbrella monorepo.
About
Collection of 50+ type, feature & value checks.
Status
STABLE - used in production
Search or submit any issues for this package
Installation
yarn add @thi.ng/checks
ES module import:
<script type="module" src="https://cdn.skypack.dev/@thi.ng/checks"></script>
For Node.js REPL:
# with flag only for < v16
node --experimental-repl-await
> const checks = await import("@thi.ng/checks");
Package sizes (gzipped, pre-treeshake): ESM: 1.63 KB
Dependencies
API
TODO
Authors
Maintainer
- Karsten Schmidt (@postspectacular)
Contributors
- Gavin Cannizzaro (@gavinpc-mindgrub)
- Jay Zawrotny (@eccentric-j)
If this project contributes to an academic publication, please cite it as:
@misc{thing-checks,
title = "@thi.ng/checks",
author = "Karsten Schmidt and others",
note = "https://thi.ng/checks",
year = 2016
}
License
© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0