@fabiospampinato/is
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -56,2 +56,3 @@ import isArguments from './is_arguments'; | ||
import isNumber from './is_number'; | ||
import isNumberLike from './is_number_like'; | ||
import isObject from './is_object'; | ||
@@ -83,2 +84,2 @@ import isObjectLike from './is_object_like'; | ||
import isWindow from './is_window'; | ||
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBoxedBigInt, isBoxedBoolean, isBoxedNumber, isBoxedPrimitive, isBoxedString, isBoxedSymbol, 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, isWeakReferable, isWeakSet, isWindow }; | ||
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBoxedBigInt, isBoxedBoolean, isBoxedNumber, isBoxedPrimitive, isBoxedString, isBoxedSymbol, 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, isNumberLike, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakReferable, isWeakSet, isWindow }; |
@@ -57,2 +57,3 @@ /* MAIN */ | ||
import isNumber from './is_number.js'; | ||
import isNumberLike from './is_number_like.js'; | ||
import isObject from './is_object.js'; | ||
@@ -85,2 +86,2 @@ import isObjectLike from './is_object_like.js'; | ||
/* EXPORT */ | ||
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBoxedBigInt, isBoxedBoolean, isBoxedNumber, isBoxedPrimitive, isBoxedString, isBoxedSymbol, 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, isWeakReferable, isWeakSet, isWindow }; | ||
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBoxedBigInt, isBoxedBoolean, isBoxedNumber, isBoxedPrimitive, isBoxedString, isBoxedSymbol, 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, isNumberLike, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakReferable, isWeakSet, isWindow }; |
@@ -5,3 +5,3 @@ { | ||
"description": "The definitive collection of is* functions for runtime type checking. Lodash-compatible, tree-shakable, with types.", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "sideEffects": false, |
@@ -653,2 +653,16 @@ # Is | ||
#### `isNumberLike` 🆕 | ||
Checks if a string can be safely converted to a number. | ||
```ts | ||
import {isNumberLike} from 'is'; | ||
isNumberLike ( '3' ); // => true | ||
isNumberLike ( '12.3' ); // => true | ||
isNumberLike ( '1e100' ); // => true | ||
isNumberLike ( '0xff' ); // => true | ||
isNumberLike ( 'foo' ); // => false | ||
``` | ||
#### `isObjectLike` | ||
@@ -655,0 +669,0 @@ |
@@ -59,2 +59,3 @@ | ||
import isNumber from './is_number'; | ||
import isNumberLike from './is_number_like'; | ||
import isObject from './is_object'; | ||
@@ -145,2 +146,3 @@ import isObjectLike from './is_object_like'; | ||
isNumber, | ||
isNumberLike, | ||
isObject, | ||
@@ -147,0 +149,0 @@ isObjectLike, |
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
210319
341
5230
973