@fabiospampinato/is
Advanced tools
Comparing version 2.1.1 to 2.2.0
@@ -47,2 +47,3 @@ import isArguments from './is_arguments'; | ||
import isNil from './is_nil'; | ||
import isNode from './is_node'; | ||
import isNull from './is_null'; | ||
@@ -74,2 +75,2 @@ import isNumber from './is_number'; | ||
import isWeakSet from './is_weak_set'; | ||
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBuffer, isClass, isComment, isDataView, isDate, isDocument, isDocumentFragment, isDocumentType, isElement, isEmpty, isError, isEven, isFalsy, isFinite, isFloat, isFloat32Array, isFloat64Array, isFunction, isGeneratorFunction, isInt16Array, isInt32Array, isInt8Array, isInteger, isIterable, isLength, isMap, isNaN, isNative, isNegativeZero, isNil, isNull, isNumber, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakSet }; | ||
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBuffer, isClass, isComment, isDataView, isDate, isDocument, isDocumentFragment, isDocumentType, isElement, isEmpty, isError, isEven, isFalsy, isFinite, isFloat, isFloat32Array, isFloat64Array, isFunction, isGeneratorFunction, isInt16Array, isInt32Array, isInt8Array, isInteger, isIterable, isLength, isMap, isNaN, isNative, isNegativeZero, isNil, isNode, isNull, isNumber, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakSet }; |
@@ -48,2 +48,3 @@ /* MAIN */ | ||
import isNil from './is_nil.js'; | ||
import isNode from './is_node.js'; | ||
import isNull from './is_null.js'; | ||
@@ -76,2 +77,2 @@ import isNumber from './is_number.js'; | ||
/* EXPORT */ | ||
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBuffer, isClass, isComment, isDataView, isDate, isDocument, isDocumentFragment, isDocumentType, isElement, isEmpty, isError, isEven, isFalsy, isFinite, isFloat, isFloat32Array, isFloat64Array, isFunction, isGeneratorFunction, isInt16Array, isInt32Array, isInt8Array, isInteger, isIterable, isLength, isMap, isNaN, isNative, isNegativeZero, isNil, isNull, isNumber, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakSet }; | ||
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBuffer, isClass, isComment, isDataView, isDate, isDocument, isDocumentFragment, isDocumentType, isElement, isEmpty, isError, isEven, isFalsy, isFinite, isFloat, isFloat32Array, isFloat64Array, isFunction, isGeneratorFunction, isInt16Array, isInt32Array, isInt8Array, isInteger, isIterable, isLength, isMap, isNaN, isNative, isNegativeZero, isNil, isNode, isNull, isNumber, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakSet }; |
@@ -5,3 +5,3 @@ { | ||
"description": "The definitive collection of is* functions for runtime type checking. Lodash-compatible, tree-shakable, with types.", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "sideEffects": false, |
@@ -550,2 +550,13 @@ # Is | ||
#### `isNode` 🆕 | ||
Checks if a value is likely a DOM node. | ||
```ts | ||
import {isNode} from 'is'; | ||
isNode ( document.body ); // => true | ||
isNode ( undefined ); // => false | ||
``` | ||
#### `isNull` | ||
@@ -552,0 +563,0 @@ |
@@ -50,2 +50,3 @@ | ||
import isNil from './is_nil'; | ||
import isNode from './is_node'; | ||
import isNull from './is_null'; | ||
@@ -127,2 +128,3 @@ import isNumber from './is_number'; | ||
isNil, | ||
isNode, | ||
isNull, | ||
@@ -129,0 +131,0 @@ isNumber, |
@@ -59,2 +59,3 @@ | ||
'attribute': new (class Attr { nodeType = 2 }) (), | ||
'node': new (class Node { nodeType = 6 }) (), | ||
'text': new (class Text { nodeType = 3 }) (), | ||
@@ -61,0 +62,0 @@ 'comment': new (class Comment { nodeType = 8 }) (), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
188014
305
4675
870