@std-types/is-none-of
v1.0.0
Published
Check whether a value matches none of the given guards
Downloads
408
Readme
@std-types/is-none-of
Check whether a value matches none of the given guards
Installation
npm install @std-types/is-none-of
Usage
import isNoneOf from "@std-types/is-none-of";
isNoneOf(1, isNumber, isString); // false
isNoneOf("foo", isNumber, isString); // false
isNoneOf([], isNumber, isString); // true