@sindresorhus/is
Type check values
Found 2038 results for assertion
Type check values
Error constructor for test and validation frameworks that implements standardized AssertionError specification.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
simple, flexible, fun test framework
Lazy assertions without performance penalty
TypeScript implementation of invariant(condition, message)
A tiny javascript type testing tool
Function argument validation for humans
Node.js test runner that lets you develop with confidence.
Test if an object has a specified property.
Test if a value is object-like.
Test if a value is an array.
Test if a value is a regular expression.
Test if a double-precision floating-point numeric value is NaN.
Test if a value is a string.
Check if an environment is big endian.
Check two valid geojson geometries for equality.
Test if a double-precision floating-point numeric value is infinite.
Check two valid geojson geometries for equality.
Test if a value is a boolean.
Test if a value is a function.
Test if a value is a Float64Array.
Test if a value is a Buffer object.
Test if a value is a regular expression string.
Test if a value is a plain object.
Test if a value is a Uint32Array.
Test if a value is a Uint8Array.
Test if a value is a Uint16Array.
Test if a value is an object.
Test if a value is a number.
Test if a value is a Float32Array.
Check if an environment is little endian.
The powerful, easy-to-use testing framework.
Power Assert feature enhancer for assert function/object
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
ESLint rules for AVA
Assertion toolkit for Puppeteer.
Automated browser testing for the modern web development stack.
Power Assert in JavaScript
Power Assert output formatter
Power Assert feature enhancer for assert function/object
A tiny runtime library for type assertions
Chai plugin for JSON Schema v4
Babel plugin for power-assert
A port of Node v6's internal _deepEqual function in a universal style
Yet another JavaScript assertion/invariant library.
Chai assertion that provides Jest's snapshot testing
Power Assert instrumentor from source to source, with source-map
Power Assert feature instrumentor based on the ECMAScript AST
A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.
Babel plugin for protecting against improper use of `t.throws()` in AVA
Power Assert feature instrumentor on the fly
DOM assertions for the Chai assertion library using vanilla JavaScript
Convert assert to power-assert on ESTree AST
Shallow deep equal assertion for chai
Test if a finite numeric value is an odd number.
Test if a finite double-precision floating-point number is an integer.
Test if a double-precision floating-point numeric value is positive zero.
Test if a value is NaN.
Assert that the name of the current branch of a git repository has a particular value.
Assertion library for form validations
Test if a value is a number having a nonnegative integer value.
Checks a given object against a given set of specifications to keep you from writing boilerplate tests.
Test if a finite numeric value is an even number.
Test if a value is an Int32Array.
Test if a value is a number having an integer value.
Encourages programming with assertions by providing tools to compile them away
Test if a value is a Uint8ClampedArray.
Test if a value is an Int16Array.
Assert utility from yeoman
Test if a value is a collection.
Test if a double-precision floating-point numeric value is negative zero.
Test if an object's own property is enumerable.
Assert a given object is a valid glob option
Extensible BDD assertion toolkit
Test if a value is an Int8Array.
Babel plugin for protecting against improper use of `t.throws()` in AVA
Test if a value is an arguments object.
Browserify transform for unassert: Encourages programming with assertions by providing tools to compile them away
Test if a value is a number having a positive integer value.
assertion library
Color assertions for chai
Test if a value is an Error object.
Checks a given object against a given set of specifications to keep you from writing boilerplate tests.
Standard assertion utilities.
provides snapshot testing like jest
Minimal JavaScript type checking library
Test whether a value has in its prototype chain a specified constructor as a prototype property.
Test if a value is an ArrayBuffer.
Plugin for validating API schemas from API documentation
Xml assertions for Chai
Test if a value is a complex number-like object.
Power Assert output renderers
Extends chai with assertions that allow for floating point rounding errors
Test if a value is a number having a positive value.
Expect-like assertions that works seamlessly in node and browsers
Change assertions for the Chai assertion library
Test if a value is an array-like object.
Test if a value is a Complex64Array.
Test if a value is array-like.
Type check values: `is.string('🦄') //=> true`
jQuery assertions for the Chai assertion library
Test if a value is a typed array.
Test if a value is a complex typed array.
Test if an array-like object supports the accessor (get/set) protocol.
A chai assertion plugin for working with urls
Unexpected plugin for the messy library
Test if a value is a Complex128Array.
Backbone assertions for the Chai assertion library
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Test if a finite double-precision floating-point number is a nonnegative integer.
Test if a value is an array-like object of numbers.
Ergonomic, modern and type-safe assertion library
Testing and assertion library with friendly BDD syntax — awesome.must.be.true(). Many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well tested stuff.
Test if a value is typed-array-like.
This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for the [Sinonjs](http://sinonjs.org/) mocking library.
Test if a finite double-precision floating-point number is a negative integer.
A chai plugin to validate json files
Chai assertions for Node.js filesystem
Test if a value is a probability.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Common assertions for Bats
Test if an array-like value contains a search value.
Assert on equality of json representations in Chai
Adding .also chain in base library of chai-as-promised
DOM plugin for the unexpected assertion libary
Test if a finite double-precision floating-point number is a positive integer.
Simple, intuitive and flexible unit testing framework for javascript / Node.js (browser and server). Integrates awesome assertions libraries like Must.js, Should.js, Assert of Node.js, Sinon.js and other friendly features (promise, IoC, plugins, ...).
Test if a double-precision floating-point number is a probability.
Test if a value is an array-like object containing only nonnegative integers.
Drop-in replacement for expect that waits for the assertion to succeed (retries on an interval you choose, until a timeout you choose)
Validation utilities
Test if a value is an array of strings.
HTML assertions for Chai.
Test if a value is a number having a nonnegative value.
🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
Type check values. This is a fork of sindresorhus/is, but with CommonJS support.
Test if a value is Node writable stream-like.
Test if a value is an array of probabilities that sum to one.
Check if the runtime is Node.js.
Check if the runtime is a web browser.
Test if a value is Node stream-like.
Assert that a Node-API value is a specified Node-API data type.
Test if a value is null.
Because expected true, result false is not enough!
Add support to Unexpected for testing Map instances
Add support to Unexpected for testing Set instances
Test if a value is a DataView.
Assert that a Node-API value is a Node-API typed array.
Assert that two Node-API typed array data types are equal.
C utilities for asserting that a Node-API call returns an "ok" status.
Assert that two Node-API data types are equal.
Determine if a buffer length is compatible with provided ndarray meta data.
An assertion library for cucumber.js providing cucumber compatible failures instead of exceptions
Test if an object has a specified method name, either own or inherited.
Test if a value is ndarray-like.
Assert values using Joi schemas
Strong Dynamically Typed Object Modeling for JavaScript
Test if a value is an array-like object containing only integers.
the lightest yet the fastest javascript testing library
A Chai plugin providing assertions on the order of Sinon spy calls
complex type validators that generate TypeScript and Flow types for you
Test if a value is a URI.
This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for [Knockout](http://knockoutjs.org).
Test if value is valid for fs.readFile option
A Cypress plugin to recursively search your intercepted requests/responses by key/value
node.js streams plugin for the Unexpected assertion library
Preconditions for safe coding
Extends Tape with new assertions
Simple utility to retry an erroring function until it succeeds
example.on('end', mustCall(() => {})); Check the callback function is called.
Test if a value is a semantic version string.
Array assertion helpers for the Chai assertion library
an assertion against a change to a value
Test if a value is a string having an uppercase first character.
Id equality assertions for chai
Comparison plugin for BDD assertion libraries (chai, should)
An alternate jQuery assertion library for Chai.
EventEmitter assertions for Unexpected
JSX assertions for Jasmine
CSS Style assertions for elements, using Chai.js
Make jest expect more convenient.
A small and simple library for asserting argument are the correct types
Test if a value is an empty array.
SlimIO is (JavaScript Primitives & Objects type checker)
Assert deeply nested values in Jest
Test if a value is iterator-like.
Jest-like snapshot feature for the rest of us + data-driven testing
Automated browser testing for the modern web development stack.
Ergonomic, modern and type-safe assertion library
Chai assertion library plugin to add `strictlyEqual` function and disable `equal`
Lightweight assertion testing framework
Image metadata plugin for the Unexpected assertion library
Run ava tests in the browser
Drop-in BDD helpers for AVA test runner 🌠
Test if a value is undefined or null.
A gulp plugin for power-assert
Test if a double-precision floating-point numeric value is finite.
Browserify transform for power-assert
simple, flexible, fun test framework
JSX assertions for Chai
MagicPen plugin for the Unexpected assertion library
Unit Testing for the PlugJS Build System ========================================
Test if a single-precision floating-point numeric value is NaN.
Cheerio assertions for the Chai assertion library
A jest assertion that checks calls for count, order and informed parameters, all at once
Test if a value is a gzip buffer.
Validate if a value is a positive integer between 0 & Number.MAX_SAFE_INTEGER
Boolean indicating if the current process is running on Windows.
Karma plugin for chai-equal-jsx
ESLint rules for tape
Extensible type-aware assertion library
A utility library that provides borrowing mechanisms via assertion functions
A simple and lightweight TypeScript type guard library for runtime type validation.
JSX React Element assertions for chai
Async HTTP request wrapper
is-any-type simple functionality alternative to check data type references such as typeof and instanceof
Supercool assertion library for Cypress
A composable matching/assertion/validation framework in Typescript that displays mismatches as diff trees
Assert (pretty) equality of Immutable.js iterables with unexpected
TypeScript assertion helpers
Test if an object has a specified property, either own or inherited.
Assert that specific environment variables exist.
Tools for snapshotting, replaying, and mocking HTTP queries with Jest
Command line tool for power-assert
Unexpected plugin for @dependable/state
a chai plugin for type assertions, support typescript
React assertions for the Chai assertion library
ESLint rules for tap
Assertion library written in TypeScript
simple assertion module for checking function arguments
Test if a value is a BooleanArray.
Runtime Verification Library for browsers and Node.js.
Mocha reporter that check the number of assertions
Test if a value is a BooleanArray.
TypeScript predicates library
Date comparison assertions for the Chai assertion library
A type enforcement library for javascript
Powerful test inspection library
jasmine-style 'expect' calls for mocha and other test frameworks
Helpers to easily write tests for React component/JSX code
Test if two double-precision floating-point numbers are the same value.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Test if two arguments are the same value.
Test if a value is a Date object.
expect assertion on the runtime
Test if a single-precision floating-point numeric value is positive zero.
Chai helper to include soft assertions on chai package
Test if a value is a BigInt.