@stryke/type-checks 0.5.9 → 0.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/get-object-tag.cjs +1 -1
- package/dist/get-object-tag.d.cts +11 -2
- package/dist/get-object-tag.d.cts.map +1 -0
- package/dist/get-object-tag.d.mts +11 -2
- package/dist/get-object-tag.d.mts.map +1 -0
- package/dist/get-object-tag.mjs +2 -1
- package/dist/get-object-tag.mjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +43 -43
- package/dist/index.d.mts +43 -43
- package/dist/index.mjs +1 -1
- package/dist/is-array-like.cjs +1 -1
- package/dist/is-array-like.d.cts +11 -2
- package/dist/is-array-like.d.cts.map +1 -0
- package/dist/is-array-like.d.mts +11 -2
- package/dist/is-array-like.d.mts.map +1 -0
- package/dist/is-array-like.mjs +2 -1
- package/dist/is-array-like.mjs.map +1 -0
- package/dist/is-async-iterable.cjs +1 -1
- package/dist/is-async-iterable.d.cts +11 -2
- package/dist/is-async-iterable.d.cts.map +1 -0
- package/dist/is-async-iterable.d.mts +11 -2
- package/dist/is-async-iterable.d.mts.map +1 -0
- package/dist/is-async-iterable.mjs +2 -1
- package/dist/is-async-iterable.mjs.map +1 -0
- package/dist/is-bigint.cjs +1 -1
- package/dist/is-bigint.d.cts +20 -2
- package/dist/is-bigint.d.cts.map +1 -0
- package/dist/is-bigint.d.mts +20 -2
- package/dist/is-bigint.d.mts.map +1 -0
- package/dist/is-bigint.mjs +2 -1
- package/dist/is-bigint.mjs.map +1 -0
- package/dist/is-boolean.cjs +1 -1
- package/dist/is-boolean.d.cts +11 -2
- package/dist/is-boolean.d.cts.map +1 -0
- package/dist/is-boolean.d.mts +11 -2
- package/dist/is-boolean.d.mts.map +1 -0
- package/dist/is-boolean.mjs +2 -1
- package/dist/is-boolean.mjs.map +1 -0
- package/dist/is-buffer.cjs +1 -1
- package/dist/is-buffer.d.cts +9 -2
- package/dist/is-buffer.d.cts.map +1 -0
- package/dist/is-buffer.d.mts +9 -2
- package/dist/is-buffer.d.mts.map +1 -0
- package/dist/is-buffer.mjs +2 -1
- package/dist/is-buffer.mjs.map +1 -0
- package/dist/is-collection.cjs +1 -1
- package/dist/is-collection.d.cts +14 -2
- package/dist/is-collection.d.cts.map +1 -0
- package/dist/is-collection.d.mts +14 -2
- package/dist/is-collection.d.mts.map +1 -0
- package/dist/is-collection.mjs +2 -1
- package/dist/is-collection.mjs.map +1 -0
- package/dist/is-date.cjs +1 -1
- package/dist/is-date.d.cts +20 -2
- package/dist/is-date.d.cts.map +1 -0
- package/dist/is-date.d.mts +20 -2
- package/dist/is-date.d.mts.map +1 -0
- package/dist/is-date.mjs +2 -1
- package/dist/is-date.mjs.map +1 -0
- package/dist/is-deep-key.cjs +1 -1
- package/dist/is-deep-key.d.cts +41 -2
- package/dist/is-deep-key.d.cts.map +1 -0
- package/dist/is-deep-key.d.mts +41 -2
- package/dist/is-deep-key.d.mts.map +1 -0
- package/dist/is-deep-key.mjs +2 -1
- package/dist/is-deep-key.mjs.map +1 -0
- package/dist/is-empty-object.cjs +1 -1
- package/dist/is-empty-object.d.cts +18 -2
- package/dist/is-empty-object.d.cts.map +1 -0
- package/dist/is-empty-object.d.mts +18 -2
- package/dist/is-empty-object.d.mts.map +1 -0
- package/dist/is-empty-object.mjs +2 -1
- package/dist/is-empty-object.mjs.map +1 -0
- package/dist/is-empty-string.cjs +1 -1
- package/dist/is-empty-string.d.cts +11 -2
- package/dist/is-empty-string.d.cts.map +1 -0
- package/dist/is-empty-string.d.mts +11 -2
- package/dist/is-empty-string.d.mts.map +1 -0
- package/dist/is-empty-string.mjs +2 -1
- package/dist/is-empty-string.mjs.map +1 -0
- package/dist/is-empty.cjs +1 -1
- package/dist/is-empty.d.cts +12 -2
- package/dist/is-empty.d.cts.map +1 -0
- package/dist/is-empty.d.mts +12 -2
- package/dist/is-empty.d.mts.map +1 -0
- package/dist/is-empty.mjs +2 -1
- package/dist/is-empty.mjs.map +1 -0
- package/dist/is-equal.cjs +1 -1
- package/dist/is-equal.d.cts +5 -2
- package/dist/is-equal.d.cts.map +1 -0
- package/dist/is-equal.d.mts +5 -2
- package/dist/is-equal.d.mts.map +1 -0
- package/dist/is-equal.mjs +2 -1
- package/dist/is-equal.mjs.map +1 -0
- package/dist/is-error.cjs +1 -1
- package/dist/is-error.d.cts +21 -2
- package/dist/is-error.d.cts.map +1 -0
- package/dist/is-error.d.mts +21 -2
- package/dist/is-error.d.mts.map +1 -0
- package/dist/is-error.mjs +2 -1
- package/dist/is-error.mjs.map +1 -0
- package/dist/is-file-result.cjs +1 -1
- package/dist/is-file-result.d.cts +14 -2
- package/dist/is-file-result.d.cts.map +1 -0
- package/dist/is-file-result.d.mts +14 -2
- package/dist/is-file-result.d.mts.map +1 -0
- package/dist/is-file-result.mjs +2 -1
- package/dist/is-file-result.mjs.map +1 -0
- package/dist/is-float.cjs +1 -1
- package/dist/is-float.d.cts +14 -2
- package/dist/is-float.d.cts.map +1 -0
- package/dist/is-float.d.mts +14 -2
- package/dist/is-float.d.mts.map +1 -0
- package/dist/is-float.mjs +2 -1
- package/dist/is-float.mjs.map +1 -0
- package/dist/is-function.cjs +1 -1
- package/dist/is-function.d.cts +15 -2
- package/dist/is-function.d.cts.map +1 -0
- package/dist/is-function.d.mts +15 -2
- package/dist/is-function.d.mts.map +1 -0
- package/dist/is-function.mjs +2 -1
- package/dist/is-function.mjs.map +1 -0
- package/dist/is-integer.cjs +1 -1
- package/dist/is-integer.d.cts +11 -2
- package/dist/is-integer.d.cts.map +1 -0
- package/dist/is-integer.d.mts +11 -2
- package/dist/is-integer.d.mts.map +1 -0
- package/dist/is-integer.mjs +2 -1
- package/dist/is-integer.mjs.map +1 -0
- package/dist/is-mergeable-object.cjs +1 -1
- package/dist/is-mergeable-object.d.cts +5 -2
- package/dist/is-mergeable-object.d.cts.map +1 -0
- package/dist/is-mergeable-object.d.mts +5 -2
- package/dist/is-mergeable-object.d.mts.map +1 -0
- package/dist/is-mergeable-object.mjs +2 -1
- package/dist/is-mergeable-object.mjs.map +1 -0
- package/dist/is-non-null-object.cjs +1 -1
- package/dist/is-non-null-object.mjs +2 -1
- package/dist/is-non-null-object.mjs.map +1 -0
- package/dist/is-not-empty.cjs +1 -1
- package/dist/is-not-empty.d.cts +11 -2
- package/dist/is-not-empty.d.cts.map +1 -0
- package/dist/is-not-empty.d.mts +11 -2
- package/dist/is-not-empty.d.mts.map +1 -0
- package/dist/is-not-empty.mjs +2 -1
- package/dist/is-not-empty.mjs.map +1 -0
- package/dist/is-null.cjs +1 -1
- package/dist/is-null.d.cts +5 -2
- package/dist/is-null.d.cts.map +1 -0
- package/dist/is-null.d.mts +5 -2
- package/dist/is-null.d.mts.map +1 -0
- package/dist/is-null.mjs +2 -1
- package/dist/is-null.mjs.map +1 -0
- package/dist/is-number.cjs +1 -1
- package/dist/is-number.d.cts +21 -2
- package/dist/is-number.d.cts.map +1 -0
- package/dist/is-number.d.mts +21 -2
- package/dist/is-number.d.mts.map +1 -0
- package/dist/is-number.mjs +2 -1
- package/dist/is-number.mjs.map +1 -0
- package/dist/is-object-index.cjs +1 -1
- package/dist/is-object-index.d.cts +11 -2
- package/dist/is-object-index.d.cts.map +1 -0
- package/dist/is-object-index.d.mts +11 -2
- package/dist/is-object-index.d.mts.map +1 -0
- package/dist/is-object-index.mjs +2 -1
- package/dist/is-object-index.mjs.map +1 -0
- package/dist/is-object.cjs +1 -1
- package/dist/is-object.d.cts +35 -2
- package/dist/is-object.d.cts.map +1 -0
- package/dist/is-object.d.mts +35 -2
- package/dist/is-object.d.mts.map +1 -0
- package/dist/is-object.mjs +2 -1
- package/dist/is-object.mjs.map +1 -0
- package/dist/is-plain-object.cjs +1 -1
- package/dist/is-plain-object.d.cts +56 -2
- package/dist/is-plain-object.d.cts.map +1 -0
- package/dist/is-plain-object.d.mts +56 -2
- package/dist/is-plain-object.d.mts.map +1 -0
- package/dist/is-plain-object.mjs +2 -1
- package/dist/is-plain-object.mjs.map +1 -0
- package/dist/is-primitive.cjs +1 -1
- package/dist/is-primitive.d.cts +5 -2
- package/dist/is-primitive.d.cts.map +1 -0
- package/dist/is-primitive.d.mts +5 -2
- package/dist/is-primitive.d.mts.map +1 -0
- package/dist/is-primitive.mjs +2 -1
- package/dist/is-primitive.mjs.map +1 -0
- package/dist/is-promise.cjs +1 -1
- package/dist/is-promise.d.cts +21 -2
- package/dist/is-promise.d.cts.map +1 -0
- package/dist/is-promise.d.mts +21 -2
- package/dist/is-promise.d.mts.map +1 -0
- package/dist/is-promise.mjs +2 -1
- package/dist/is-promise.mjs.map +1 -0
- package/dist/is-react-element.cjs +1 -1
- package/dist/is-react-element.d.cts +5 -2
- package/dist/is-react-element.d.cts.map +1 -0
- package/dist/is-react-element.d.mts +5 -2
- package/dist/is-react-element.d.mts.map +1 -0
- package/dist/is-react-element.mjs +2 -1
- package/dist/is-react-element.mjs.map +1 -0
- package/dist/is-ref.cjs +1 -1
- package/dist/is-ref.d.cts +14 -2
- package/dist/is-ref.d.cts.map +1 -0
- package/dist/is-ref.d.mts +14 -2
- package/dist/is-ref.d.mts.map +1 -0
- package/dist/is-ref.mjs +2 -1
- package/dist/is-ref.mjs.map +1 -0
- package/dist/is-regexp.cjs +1 -1
- package/dist/is-regexp.d.cts +20 -2
- package/dist/is-regexp.d.cts.map +1 -0
- package/dist/is-regexp.d.mts +20 -2
- package/dist/is-regexp.d.mts.map +1 -0
- package/dist/is-regexp.mjs +2 -1
- package/dist/is-regexp.mjs.map +1 -0
- package/dist/is-select-option.cjs +1 -1
- package/dist/is-select-option.d.cts +14 -2
- package/dist/is-select-option.d.cts.map +1 -0
- package/dist/is-select-option.d.mts +14 -2
- package/dist/is-select-option.d.mts.map +1 -0
- package/dist/is-select-option.mjs +2 -1
- package/dist/is-select-option.mjs.map +1 -0
- package/dist/is-set-array.cjs +1 -1
- package/dist/is-set-array.d.cts +11 -2
- package/dist/is-set-array.d.cts.map +1 -0
- package/dist/is-set-array.d.mts +11 -2
- package/dist/is-set-array.d.mts.map +1 -0
- package/dist/is-set-array.mjs +2 -1
- package/dist/is-set-array.mjs.map +1 -0
- package/dist/is-set-object.cjs +1 -1
- package/dist/is-set-object.d.cts +11 -2
- package/dist/is-set-object.d.cts.map +1 -0
- package/dist/is-set-object.d.mts +11 -2
- package/dist/is-set-object.d.mts.map +1 -0
- package/dist/is-set-object.mjs +2 -1
- package/dist/is-set-object.mjs.map +1 -0
- package/dist/is-set-string.cjs +1 -1
- package/dist/is-set-string.d.cts +11 -2
- package/dist/is-set-string.d.cts.map +1 -0
- package/dist/is-set-string.d.mts +11 -2
- package/dist/is-set-string.d.mts.map +1 -0
- package/dist/is-set-string.mjs +2 -1
- package/dist/is-set-string.mjs.map +1 -0
- package/dist/is-set.cjs +1 -1
- package/dist/is-set.d.cts +11 -2
- package/dist/is-set.d.cts.map +1 -0
- package/dist/is-set.d.mts +11 -2
- package/dist/is-set.d.mts.map +1 -0
- package/dist/is-set.mjs +2 -1
- package/dist/is-set.mjs.map +1 -0
- package/dist/is-string.cjs +1 -1
- package/dist/is-string.d.cts +5 -2
- package/dist/is-string.d.cts.map +1 -0
- package/dist/is-string.d.mts +5 -2
- package/dist/is-string.d.mts.map +1 -0
- package/dist/is-string.mjs +2 -1
- package/dist/is-string.mjs.map +1 -0
- package/dist/is-symbol.cjs +1 -1
- package/dist/is-symbol.d.cts +5 -2
- package/dist/is-symbol.d.cts.map +1 -0
- package/dist/is-symbol.d.mts +5 -2
- package/dist/is-symbol.d.mts.map +1 -0
- package/dist/is-symbol.mjs +2 -1
- package/dist/is-symbol.mjs.map +1 -0
- package/dist/is-typed-array.cjs +1 -1
- package/dist/is-typed-array.d.cts +5 -2
- package/dist/is-typed-array.d.cts.map +1 -0
- package/dist/is-typed-array.d.mts +5 -2
- package/dist/is-typed-array.d.mts.map +1 -0
- package/dist/is-typed-array.mjs +2 -1
- package/dist/is-typed-array.mjs.map +1 -0
- package/dist/is-typed.cjs +1 -1
- package/dist/is-typed.d.cts +14 -2
- package/dist/is-typed.d.cts.map +1 -0
- package/dist/is-typed.d.mts +14 -2
- package/dist/is-typed.d.mts.map +1 -0
- package/dist/is-typed.mjs +2 -1
- package/dist/is-typed.mjs.map +1 -0
- package/dist/is-undefined.cjs +1 -1
- package/dist/is-undefined.d.cts +5 -2
- package/dist/is-undefined.d.cts.map +1 -0
- package/dist/is-undefined.d.mts +5 -2
- package/dist/is-undefined.d.mts.map +1 -0
- package/dist/is-undefined.mjs +2 -1
- package/dist/is-undefined.mjs.map +1 -0
- package/dist/is-url.cjs +1 -1
- package/dist/is-url.d.cts +11 -2
- package/dist/is-url.d.cts.map +1 -0
- package/dist/is-url.d.mts +11 -2
- package/dist/is-url.d.mts.map +1 -0
- package/dist/is-url.mjs +2 -1
- package/dist/is-url.mjs.map +1 -0
- package/dist/property-exists.cjs +1 -1
- package/dist/property-exists.d.cts +20 -2
- package/dist/property-exists.d.cts.map +1 -0
- package/dist/property-exists.d.mts +20 -2
- package/dist/property-exists.d.mts.map +1 -0
- package/dist/property-exists.mjs +2 -1
- package/dist/property-exists.mjs.map +1 -0
- package/dist/type-detect.cjs +1 -1
- package/dist/type-detect.d.cts +5 -2
- package/dist/type-detect.d.cts.map +1 -0
- package/dist/type-detect.d.mts +5 -2
- package/dist/type-detect.d.mts.map +1 -0
- package/dist/type-detect.mjs +2 -1
- package/dist/type-detect.mjs.map +1 -0
- package/dist/types/src/base.cjs +1 -0
- package/dist/{base-BghPfa26.d.mts → types/src/base.d.cts} +2 -2
- package/dist/types/src/base.d.cts.map +1 -0
- package/dist/{base-DsupRZHl.d.cts → types/src/base.d.mts} +2 -2
- package/dist/types/src/base.d.mts.map +1 -0
- package/dist/types/src/base.mjs +2 -0
- package/dist/types/src/base.mjs.map +1 -0
- package/dist/types/src/file.d.cts +24 -0
- package/dist/types/src/file.d.cts.map +1 -0
- package/dist/types/src/file.d.mts +24 -0
- package/dist/types/src/file.d.mts.map +1 -0
- package/dist/{is-select-option-B5qnA3jc.d.cts → types/src/form.d.cts} +3 -12
- package/dist/types/src/form.d.cts.map +1 -0
- package/dist/{is-select-option-DokUPHZT.d.mts → types/src/form.d.mts} +3 -12
- package/dist/types/src/form.d.mts.map +1 -0
- package/dist/types/src/messages.d.cts +16 -0
- package/dist/types/src/messages.d.cts.map +1 -0
- package/dist/types/src/messages.d.mts +16 -0
- package/dist/types/src/messages.d.mts.map +1 -0
- package/dist/{number-HSvmYyl0.d.mts → types/src/number.d.cts} +2 -2
- package/dist/types/src/number.d.cts.map +1 -0
- package/dist/{number-lymv4bwC.d.cts → types/src/number.d.mts} +2 -2
- package/dist/types/src/number.d.mts.map +1 -0
- package/dist/{is-deep-key-CDPjONep.d.cts → types/src/object.d.cts} +3 -39
- package/dist/types/src/object.d.cts.map +1 -0
- package/dist/{is-deep-key-R3slkUpl.d.mts → types/src/object.d.mts} +3 -39
- package/dist/types/src/object.d.mts.map +1 -0
- package/dist/{utilities-BcSwta4F.d.cts → types/src/utilities.d.cts} +2 -2
- package/dist/types/src/utilities.d.cts.map +1 -0
- package/dist/{utilities-Dj_-Bvo1.d.mts → types/src/utilities.d.mts} +2 -2
- package/dist/types/src/utilities.d.mts.map +1 -0
- package/dist/types/src/validations.d.cts +15 -0
- package/dist/types/src/validations.d.cts.map +1 -0
- package/dist/types/src/validations.d.mts +15 -0
- package/dist/types/src/validations.d.mts.map +1 -0
- package/package.json +3 -3
- package/dist/base-BghPfa26.d.mts.map +0 -1
- package/dist/base-DsupRZHl.d.cts.map +0 -1
- package/dist/get-object-tag-BHnhgixj.cjs +0 -1
- package/dist/get-object-tag-D0q0p9ux.d.mts +0 -11
- package/dist/get-object-tag-D0q0p9ux.d.mts.map +0 -1
- package/dist/get-object-tag-DF2FAXqH.mjs +0 -2
- package/dist/get-object-tag-DF2FAXqH.mjs.map +0 -1
- package/dist/get-object-tag-Tv3TsAc5.d.cts +0 -11
- package/dist/get-object-tag-Tv3TsAc5.d.cts.map +0 -1
- package/dist/is-array-like-BlG3BXac.mjs +0 -2
- package/dist/is-array-like-BlG3BXac.mjs.map +0 -1
- package/dist/is-array-like-CWfL33X9.d.mts +0 -11
- package/dist/is-array-like-CWfL33X9.d.mts.map +0 -1
- package/dist/is-array-like-DbVeBoEe.cjs +0 -1
- package/dist/is-array-like-WgfvtfKC.d.cts +0 -11
- package/dist/is-array-like-WgfvtfKC.d.cts.map +0 -1
- package/dist/is-async-iterable-Ba5xZQE9.cjs +0 -1
- package/dist/is-async-iterable-C7_r2vwP.d.cts +0 -11
- package/dist/is-async-iterable-C7_r2vwP.d.cts.map +0 -1
- package/dist/is-async-iterable-CI6-qnZ-.mjs +0 -2
- package/dist/is-async-iterable-CI6-qnZ-.mjs.map +0 -1
- package/dist/is-async-iterable-hrJii_4u.d.mts +0 -11
- package/dist/is-async-iterable-hrJii_4u.d.mts.map +0 -1
- package/dist/is-bigint-B0CqvS9s.cjs +0 -1
- package/dist/is-bigint-BlaQe4zL.d.cts +0 -20
- package/dist/is-bigint-BlaQe4zL.d.cts.map +0 -1
- package/dist/is-bigint-C87sK5hA.mjs +0 -2
- package/dist/is-bigint-C87sK5hA.mjs.map +0 -1
- package/dist/is-bigint-VHcMqIR3.d.mts +0 -20
- package/dist/is-bigint-VHcMqIR3.d.mts.map +0 -1
- package/dist/is-boolean-DAXt0s9b.mjs +0 -2
- package/dist/is-boolean-DAXt0s9b.mjs.map +0 -1
- package/dist/is-boolean-DRzqWnBl.cjs +0 -1
- package/dist/is-boolean-Doo5mVEJ.d.mts +0 -11
- package/dist/is-boolean-Doo5mVEJ.d.mts.map +0 -1
- package/dist/is-boolean-rsYcElxd.d.cts +0 -11
- package/dist/is-boolean-rsYcElxd.d.cts.map +0 -1
- package/dist/is-buffer-B3W8nBrK.d.cts +0 -9
- package/dist/is-buffer-B3W8nBrK.d.cts.map +0 -1
- package/dist/is-buffer-BhNtqu5n.mjs +0 -2
- package/dist/is-buffer-BhNtqu5n.mjs.map +0 -1
- package/dist/is-buffer-CSI0AMZS.d.mts +0 -9
- package/dist/is-buffer-CSI0AMZS.d.mts.map +0 -1
- package/dist/is-buffer-D9p_5l0d.cjs +0 -1
- package/dist/is-collection-Ceu4_dCf.d.mts +0 -14
- package/dist/is-collection-Ceu4_dCf.d.mts.map +0 -1
- package/dist/is-collection-DidPvByC.mjs +0 -2
- package/dist/is-collection-DidPvByC.mjs.map +0 -1
- package/dist/is-collection-IKoUfFa7.cjs +0 -1
- package/dist/is-collection-e7yAmi3F.d.cts +0 -14
- package/dist/is-collection-e7yAmi3F.d.cts.map +0 -1
- package/dist/is-date-BecRMVku.d.mts +0 -20
- package/dist/is-date-BecRMVku.d.mts.map +0 -1
- package/dist/is-date-CWjcEKXA.cjs +0 -1
- package/dist/is-date-CcOOgtny.mjs +0 -2
- package/dist/is-date-CcOOgtny.mjs.map +0 -1
- package/dist/is-date-Dmz-M0ET.d.cts +0 -20
- package/dist/is-date-Dmz-M0ET.d.cts.map +0 -1
- package/dist/is-deep-key-CDPjONep.d.cts.map +0 -1
- package/dist/is-deep-key-Ck2Hz7YJ.cjs +0 -1
- package/dist/is-deep-key-DShi6eYB.mjs +0 -2
- package/dist/is-deep-key-DShi6eYB.mjs.map +0 -1
- package/dist/is-deep-key-R3slkUpl.d.mts.map +0 -1
- package/dist/is-empty-CcxcCbO0.d.cts +0 -12
- package/dist/is-empty-CcxcCbO0.d.cts.map +0 -1
- package/dist/is-empty-DQObAY-0.mjs +0 -2
- package/dist/is-empty-DQObAY-0.mjs.map +0 -1
- package/dist/is-empty-DVetNKe9.cjs +0 -1
- package/dist/is-empty-bCaTRGIB.d.mts +0 -12
- package/dist/is-empty-bCaTRGIB.d.mts.map +0 -1
- package/dist/is-empty-object-C4Awcmki.d.mts +0 -18
- package/dist/is-empty-object-C4Awcmki.d.mts.map +0 -1
- package/dist/is-empty-object-DrM4h0oW.cjs +0 -1
- package/dist/is-empty-object-N0ex-Rjl.mjs +0 -2
- package/dist/is-empty-object-N0ex-Rjl.mjs.map +0 -1
- package/dist/is-empty-object-SnajGsQ2.d.cts +0 -18
- package/dist/is-empty-object-SnajGsQ2.d.cts.map +0 -1
- package/dist/is-empty-string-01PpHo0h.mjs +0 -2
- package/dist/is-empty-string-01PpHo0h.mjs.map +0 -1
- package/dist/is-empty-string-8Huv7y1z.cjs +0 -1
- package/dist/is-empty-string-BlLKjNEc.d.mts +0 -11
- package/dist/is-empty-string-BlLKjNEc.d.mts.map +0 -1
- package/dist/is-empty-string-CGf43g5Z.d.cts +0 -11
- package/dist/is-empty-string-CGf43g5Z.d.cts.map +0 -1
- package/dist/is-equal-BzPzI-pB.cjs +0 -1
- package/dist/is-equal-CYwTrE3V.d.cts +0 -5
- package/dist/is-equal-CYwTrE3V.d.cts.map +0 -1
- package/dist/is-equal-D4RPxWam.d.mts +0 -5
- package/dist/is-equal-D4RPxWam.d.mts.map +0 -1
- package/dist/is-equal-I836HuAx.mjs +0 -2
- package/dist/is-equal-I836HuAx.mjs.map +0 -1
- package/dist/is-error-CCOglM_7.d.mts +0 -21
- package/dist/is-error-CCOglM_7.d.mts.map +0 -1
- package/dist/is-error-D1FKoV2p.cjs +0 -1
- package/dist/is-error-DR_jKXbr.d.cts +0 -21
- package/dist/is-error-DR_jKXbr.d.cts.map +0 -1
- package/dist/is-error-nekb2Eit.mjs +0 -2
- package/dist/is-error-nekb2Eit.mjs.map +0 -1
- package/dist/is-file-result-5vpaq4NL.mjs +0 -2
- package/dist/is-file-result-5vpaq4NL.mjs.map +0 -1
- package/dist/is-file-result-B-ALEhm0.d.mts +0 -56
- package/dist/is-file-result-B-ALEhm0.d.mts.map +0 -1
- package/dist/is-file-result-Bl1xTRmY.cjs +0 -1
- package/dist/is-file-result-DW5cnH95.d.cts +0 -56
- package/dist/is-file-result-DW5cnH95.d.cts.map +0 -1
- package/dist/is-float-C6J1LRqg.cjs +0 -1
- package/dist/is-float-CfmYc3k6.d.mts +0 -14
- package/dist/is-float-CfmYc3k6.d.mts.map +0 -1
- package/dist/is-float-DulF06Fh.mjs +0 -2
- package/dist/is-float-DulF06Fh.mjs.map +0 -1
- package/dist/is-float-DvyATqOQ.d.cts +0 -14
- package/dist/is-float-DvyATqOQ.d.cts.map +0 -1
- package/dist/is-function-CR97Wcb4.d.mts +0 -15
- package/dist/is-function-CR97Wcb4.d.mts.map +0 -1
- package/dist/is-function-CZGGR0qT.mjs +0 -2
- package/dist/is-function-CZGGR0qT.mjs.map +0 -1
- package/dist/is-function-Ge8gcRnx.cjs +0 -1
- package/dist/is-function-IbkaFS4R.d.cts +0 -15
- package/dist/is-function-IbkaFS4R.d.cts.map +0 -1
- package/dist/is-integer-BhXT9fEE.mjs +0 -2
- package/dist/is-integer-BhXT9fEE.mjs.map +0 -1
- package/dist/is-integer-DBgHgbTb.cjs +0 -1
- package/dist/is-integer-kq1ee5T_.d.mts +0 -11
- package/dist/is-integer-kq1ee5T_.d.mts.map +0 -1
- package/dist/is-integer-t2K_aeI-.d.cts +0 -11
- package/dist/is-integer-t2K_aeI-.d.cts.map +0 -1
- package/dist/is-mergeable-object-BKccPMFM.mjs +0 -2
- package/dist/is-mergeable-object-BKccPMFM.mjs.map +0 -1
- package/dist/is-mergeable-object-BdooAUkk.d.cts +0 -5
- package/dist/is-mergeable-object-BdooAUkk.d.cts.map +0 -1
- package/dist/is-mergeable-object-Ch4GsBfV.d.mts +0 -5
- package/dist/is-mergeable-object-Ch4GsBfV.d.mts.map +0 -1
- package/dist/is-mergeable-object-D0KYh_gn.cjs +0 -1
- package/dist/is-non-null-object-Ctm4-rn6.cjs +0 -1
- package/dist/is-non-null-object-DESgjZyf.mjs +0 -2
- package/dist/is-non-null-object-DESgjZyf.mjs.map +0 -1
- package/dist/is-not-empty-DU-gI96j.d.cts +0 -11
- package/dist/is-not-empty-DU-gI96j.d.cts.map +0 -1
- package/dist/is-not-empty-QCNAwO70.cjs +0 -1
- package/dist/is-not-empty-VPPuIxfe.d.mts +0 -11
- package/dist/is-not-empty-VPPuIxfe.d.mts.map +0 -1
- package/dist/is-not-empty-_qzX24LT.mjs +0 -2
- package/dist/is-not-empty-_qzX24LT.mjs.map +0 -1
- package/dist/is-null-CZh6OomR.cjs +0 -1
- package/dist/is-null-DBoMXXAf.mjs +0 -2
- package/dist/is-null-DBoMXXAf.mjs.map +0 -1
- package/dist/is-null-envBEnO5.d.mts +0 -5
- package/dist/is-null-envBEnO5.d.mts.map +0 -1
- package/dist/is-null-mdbQqgkD.d.cts +0 -5
- package/dist/is-null-mdbQqgkD.d.cts.map +0 -1
- package/dist/is-number-B9zBD5P5.d.mts +0 -21
- package/dist/is-number-B9zBD5P5.d.mts.map +0 -1
- package/dist/is-number-BN-mcUXr.d.cts +0 -21
- package/dist/is-number-BN-mcUXr.d.cts.map +0 -1
- package/dist/is-number-ChPAVili.mjs +0 -2
- package/dist/is-number-ChPAVili.mjs.map +0 -1
- package/dist/is-number-ijCVauur.cjs +0 -1
- package/dist/is-object-ANQi7JgS.mjs +0 -2
- package/dist/is-object-ANQi7JgS.mjs.map +0 -1
- package/dist/is-object-CqEZ2nHi.d.mts +0 -35
- package/dist/is-object-CqEZ2nHi.d.mts.map +0 -1
- package/dist/is-object-Dm1523kn.cjs +0 -1
- package/dist/is-object-index-CaLUkJ03.d.mts +0 -11
- package/dist/is-object-index-CaLUkJ03.d.mts.map +0 -1
- package/dist/is-object-index-ClUQyslC.cjs +0 -1
- package/dist/is-object-index-CwTThA-X.mjs +0 -2
- package/dist/is-object-index-CwTThA-X.mjs.map +0 -1
- package/dist/is-object-index-OiD7O1-t.d.cts +0 -11
- package/dist/is-object-index-OiD7O1-t.d.cts.map +0 -1
- package/dist/is-object-vHTx3owB.d.cts +0 -35
- package/dist/is-object-vHTx3owB.d.cts.map +0 -1
- package/dist/is-plain-object-C_RxAc-k.d.cts +0 -56
- package/dist/is-plain-object-C_RxAc-k.d.cts.map +0 -1
- package/dist/is-plain-object-Cqr8u4ef.mjs +0 -2
- package/dist/is-plain-object-Cqr8u4ef.mjs.map +0 -1
- package/dist/is-plain-object-D0i2qmvk.d.mts +0 -56
- package/dist/is-plain-object-D0i2qmvk.d.mts.map +0 -1
- package/dist/is-plain-object-DuvbtXws.cjs +0 -1
- package/dist/is-primitive-BsdQZkNT.mjs +0 -2
- package/dist/is-primitive-BsdQZkNT.mjs.map +0 -1
- package/dist/is-primitive-C390YHii.d.cts +0 -5
- package/dist/is-primitive-C390YHii.d.cts.map +0 -1
- package/dist/is-primitive-CofpOCbi.d.mts +0 -5
- package/dist/is-primitive-CofpOCbi.d.mts.map +0 -1
- package/dist/is-primitive-DTb1k22w.cjs +0 -1
- package/dist/is-promise-5PXY2aAR.d.mts +0 -21
- package/dist/is-promise-5PXY2aAR.d.mts.map +0 -1
- package/dist/is-promise-BaPgf52D.d.cts +0 -21
- package/dist/is-promise-BaPgf52D.d.cts.map +0 -1
- package/dist/is-promise-D8fY4qSb.mjs +0 -2
- package/dist/is-promise-D8fY4qSb.mjs.map +0 -1
- package/dist/is-promise-DE9AP6eb.cjs +0 -1
- package/dist/is-react-element-BBgqI-yD.d.cts +0 -5
- package/dist/is-react-element-BBgqI-yD.d.cts.map +0 -1
- package/dist/is-react-element-CyrQE5Qy.d.mts +0 -5
- package/dist/is-react-element-CyrQE5Qy.d.mts.map +0 -1
- package/dist/is-react-element-GwN-78Xk.cjs +0 -1
- package/dist/is-react-element-s285_TUk.mjs +0 -2
- package/dist/is-react-element-s285_TUk.mjs.map +0 -1
- package/dist/is-ref-BiTQudvt.d.mts +0 -14
- package/dist/is-ref-BiTQudvt.d.mts.map +0 -1
- package/dist/is-ref-BqQN-H_W.cjs +0 -1
- package/dist/is-ref-C7Ce1mFX.d.cts +0 -14
- package/dist/is-ref-C7Ce1mFX.d.cts.map +0 -1
- package/dist/is-ref-DrnjEWuV.mjs +0 -2
- package/dist/is-ref-DrnjEWuV.mjs.map +0 -1
- package/dist/is-regexp-BRY1zuVr.d.mts +0 -20
- package/dist/is-regexp-BRY1zuVr.d.mts.map +0 -1
- package/dist/is-regexp-BWzNkf_C.d.cts +0 -20
- package/dist/is-regexp-BWzNkf_C.d.cts.map +0 -1
- package/dist/is-regexp-Beh3UwFi.mjs +0 -2
- package/dist/is-regexp-Beh3UwFi.mjs.map +0 -1
- package/dist/is-regexp-CLE6yUfd.cjs +0 -1
- package/dist/is-select-option-B5qnA3jc.d.cts.map +0 -1
- package/dist/is-select-option-DlTYFdDD.cjs +0 -1
- package/dist/is-select-option-DokUPHZT.d.mts.map +0 -1
- package/dist/is-select-option-U8pDtgdu.mjs +0 -2
- package/dist/is-select-option-U8pDtgdu.mjs.map +0 -1
- package/dist/is-set-BKGJRvlT.cjs +0 -1
- package/dist/is-set-DHpYu7nt.d.cts +0 -11
- package/dist/is-set-DHpYu7nt.d.cts.map +0 -1
- package/dist/is-set-Tym9nZwJ.d.mts +0 -11
- package/dist/is-set-Tym9nZwJ.d.mts.map +0 -1
- package/dist/is-set-XlU8yblR.mjs +0 -2
- package/dist/is-set-XlU8yblR.mjs.map +0 -1
- package/dist/is-set-array-BuFd2cLT.d.cts +0 -11
- package/dist/is-set-array-BuFd2cLT.d.cts.map +0 -1
- package/dist/is-set-array-C8erkOGG.cjs +0 -1
- package/dist/is-set-array-D6GXc5K_.mjs +0 -2
- package/dist/is-set-array-D6GXc5K_.mjs.map +0 -1
- package/dist/is-set-array-jWb--6v8.d.mts +0 -11
- package/dist/is-set-array-jWb--6v8.d.mts.map +0 -1
- package/dist/is-set-object-BC019q7K.d.mts +0 -11
- package/dist/is-set-object-BC019q7K.d.mts.map +0 -1
- package/dist/is-set-object-Cz1QFuwH.cjs +0 -1
- package/dist/is-set-object-DExQ3zYh.d.cts +0 -11
- package/dist/is-set-object-DExQ3zYh.d.cts.map +0 -1
- package/dist/is-set-object-m4I3zBXN.mjs +0 -2
- package/dist/is-set-object-m4I3zBXN.mjs.map +0 -1
- package/dist/is-set-string-B4g6w3Ao.mjs +0 -2
- package/dist/is-set-string-B4g6w3Ao.mjs.map +0 -1
- package/dist/is-set-string-BR3f8OLj.cjs +0 -1
- package/dist/is-set-string-D3GGXdVc.d.mts +0 -11
- package/dist/is-set-string-D3GGXdVc.d.mts.map +0 -1
- package/dist/is-set-string-DvPRqQ7I.d.cts +0 -11
- package/dist/is-set-string-DvPRqQ7I.d.cts.map +0 -1
- package/dist/is-string-25AuUYxV.mjs +0 -2
- package/dist/is-string-25AuUYxV.mjs.map +0 -1
- package/dist/is-string-BmMYO2ay.d.cts +0 -5
- package/dist/is-string-BmMYO2ay.d.cts.map +0 -1
- package/dist/is-string-C8M6iZP3.cjs +0 -1
- package/dist/is-string-CHChgess.d.mts +0 -5
- package/dist/is-string-CHChgess.d.mts.map +0 -1
- package/dist/is-symbol-B3bYbkXB.d.cts +0 -5
- package/dist/is-symbol-B3bYbkXB.d.cts.map +0 -1
- package/dist/is-symbol-Bv9PzCUy.cjs +0 -1
- package/dist/is-symbol-D_u8UXTL.mjs +0 -2
- package/dist/is-symbol-D_u8UXTL.mjs.map +0 -1
- package/dist/is-symbol-Da3X6_5Z.d.mts +0 -5
- package/dist/is-symbol-Da3X6_5Z.d.mts.map +0 -1
- package/dist/is-typed-BqNSbnTJ.d.mts +0 -14
- package/dist/is-typed-BqNSbnTJ.d.mts.map +0 -1
- package/dist/is-typed-C4R6VJn5.mjs +0 -2
- package/dist/is-typed-C4R6VJn5.mjs.map +0 -1
- package/dist/is-typed-CxfGWrLF.d.cts +0 -14
- package/dist/is-typed-CxfGWrLF.d.cts.map +0 -1
- package/dist/is-typed-array--rJ89kK-.cjs +0 -1
- package/dist/is-typed-array-BElfTaKt.mjs +0 -2
- package/dist/is-typed-array-BElfTaKt.mjs.map +0 -1
- package/dist/is-typed-array-BhzKADmY.d.mts +0 -5
- package/dist/is-typed-array-BhzKADmY.d.mts.map +0 -1
- package/dist/is-typed-array-D42U77hG.d.cts +0 -5
- package/dist/is-typed-array-D42U77hG.d.cts.map +0 -1
- package/dist/is-typed-nhM341AY.cjs +0 -1
- package/dist/is-undefined-8YL_WG1_.d.mts +0 -5
- package/dist/is-undefined-8YL_WG1_.d.mts.map +0 -1
- package/dist/is-undefined-CocoROYF.cjs +0 -1
- package/dist/is-undefined-DbcFVo7P.d.cts +0 -5
- package/dist/is-undefined-DbcFVo7P.d.cts.map +0 -1
- package/dist/is-undefined-zJ4jMmsc.mjs +0 -2
- package/dist/is-undefined-zJ4jMmsc.mjs.map +0 -1
- package/dist/is-url-B232i4b5.d.mts +0 -11
- package/dist/is-url-B232i4b5.d.mts.map +0 -1
- package/dist/is-url-BExxFY5T.cjs +0 -1
- package/dist/is-url-Bg2vBFiD.mjs +0 -2
- package/dist/is-url-Bg2vBFiD.mjs.map +0 -1
- package/dist/is-url-ClJ_Hmae.d.cts +0 -11
- package/dist/is-url-ClJ_Hmae.d.cts.map +0 -1
- package/dist/number-HSvmYyl0.d.mts.map +0 -1
- package/dist/number-lymv4bwC.d.cts.map +0 -1
- package/dist/property-exists-B4QTYKG6.d.mts +0 -20
- package/dist/property-exists-B4QTYKG6.d.mts.map +0 -1
- package/dist/property-exists-BUPlKKW9.d.cts +0 -20
- package/dist/property-exists-BUPlKKW9.d.cts.map +0 -1
- package/dist/property-exists-YUMbdTfN.cjs +0 -1
- package/dist/property-exists-clG9W4n9.mjs +0 -2
- package/dist/property-exists-clG9W4n9.mjs.map +0 -1
- package/dist/type-detect-D9u_obxe.mjs +0 -2
- package/dist/type-detect-D9u_obxe.mjs.map +0 -1
- package/dist/type-detect-Ddd2473y.cjs +0 -1
- package/dist/type-detect-DkhvTvm2.d.cts +0 -5
- package/dist/type-detect-DkhvTvm2.d.cts.map +0 -1
- package/dist/type-detect-lSIXsSvX.d.mts +0 -5
- package/dist/type-detect-lSIXsSvX.d.mts.map +0 -1
- package/dist/utilities-BcSwta4F.d.cts.map +0 -1
- package/dist/utilities-Dj_-Bvo1.d.mts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Stryke - Type Checks
|
|
4
4
|
|
|
5
|
+
## [0.5.10](https://github.com/storm-software/stryke/releases/tag/type-checks%400.5.10) (12/17/2025)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **types** to **v0.10.24**
|
|
10
|
+
|
|
11
|
+
## [0.5.9](https://github.com/storm-software/stryke/releases/tag/type-checks%400.5.9) (12/08/2025)
|
|
12
|
+
|
|
13
|
+
### Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated **types** to **v0.10.23**
|
|
16
|
+
|
|
5
17
|
## [0.5.8](https://github.com/storm-software/stryke/releases/tag/type-checks%400.5.8) (12/08/2025)
|
|
6
18
|
|
|
7
19
|
### Updated Dependencies
|
package/dist/get-object-tag.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=
|
|
1
|
+
const e=e=>e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e);exports.getObjectTag=e;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/get-object-tag.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Gets the `toStringTag` of `obj`.
|
|
4
|
+
*
|
|
5
|
+
* @param value - The obj to query.
|
|
6
|
+
* @returns Returns the `toStringTag`.
|
|
7
|
+
*/
|
|
8
|
+
declare const getObjectTag: (value: unknown) => string;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { getObjectTag };
|
|
11
|
+
//# sourceMappingURL=get-object-tag.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-object-tag.d.cts","names":[],"sources":["../src/get-object-tag.ts"],"sourcesContent":[],"mappings":";;AAwBA;;;;;cAAa"}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/get-object-tag.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Gets the `toStringTag` of `obj`.
|
|
4
|
+
*
|
|
5
|
+
* @param value - The obj to query.
|
|
6
|
+
* @returns Returns the `toStringTag`.
|
|
7
|
+
*/
|
|
8
|
+
declare const getObjectTag: (value: unknown) => string;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { getObjectTag };
|
|
11
|
+
//# sourceMappingURL=get-object-tag.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-object-tag.d.mts","names":[],"sources":["../src/get-object-tag.ts"],"sourcesContent":[],"mappings":";;AAwBA;;;;;cAAa"}
|
package/dist/get-object-tag.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
const e=e=>e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e);export{e as getObjectTag};
|
|
2
|
+
//# sourceMappingURL=get-object-tag.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-object-tag.mjs","names":[],"sources":["../src/get-object-tag.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Gets the `toStringTag` of `obj`.\n *\n * @param value - The obj to query.\n * @returns Returns the `toStringTag`.\n */\nexport const getObjectTag = (value: unknown): string => {\n if (value == null) {\n return value === undefined ? \"[object Undefined]\" : \"[object Null]\";\n }\n return Object.prototype.toString.call(value);\n};\n"],"mappings":"AAwBA,MAAa,EAAgB,GACvB,GAAS,KACJ,IAAU,IAAA,GAAY,qBAAuB,gBAE/C,OAAO,UAAU,SAAS,KAAK,EAAM"}
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./get-object-tag
|
|
1
|
+
const e=require(`./get-object-tag.cjs`),t=require(`./is-plain-object.cjs`),n=require(`./is-date.cjs`),r=require(`./is-function.cjs`),i=require(`./is-null.cjs`),a=require(`./is-number.cjs`),o=require(`./is-symbol.cjs`),s=require(`./is-undefined.cjs`),c=require(`./is-empty.cjs`),l=require(`./is-object.cjs`),u=require(`./is-array-like.cjs`),d=require(`./is-async-iterable.cjs`),f=require(`./is-bigint.cjs`),p=require(`./is-boolean.cjs`),m=require(`./is-buffer.cjs`),h=require(`./type-detect.cjs`),g=require(`./is-collection.cjs`),_=require(`./is-deep-key.cjs`),v=require(`./is-empty-object.cjs`),y=require(`./is-string.cjs`),b=require(`./is-empty-string.cjs`),x=require(`./is-equal.cjs`),S=require(`./is-error.cjs`),C=require(`./is-set.cjs`),w=require(`./is-set-object.cjs`),T=require(`./is-set-string.cjs`),E=require(`./is-file-result.cjs`),D=require(`./is-float.cjs`),O=require(`./is-integer.cjs`),k=require(`./is-react-element.cjs`),A=require(`./is-mergeable-object.cjs`),j=require(`./is-not-empty.cjs`),M=require(`./is-object-index.cjs`),N=require(`./is-primitive.cjs`),P=require(`./is-promise.cjs`),F=require(`./is-ref.cjs`),I=require(`./is-regexp.cjs`),L=require(`./is-select-option.cjs`),R=require(`./is-set-array.cjs`),z=require(`./is-typed.cjs`),B=require(`./is-typed-array.cjs`),V=require(`./is-url.cjs`),H=require(`./property-exists.cjs`);exports.getObjectTag=e.getObjectTag,exports.isAnyNumber=a.isAnyNumber,exports.isArrayLike=u.isArrayLike,exports.isAsyncFunction=r.isAsyncFunction,exports.isAsyncIterable=d.isAsyncIterable,exports.isBigInt=f.isBigInt,exports.isBoolean=p.isBoolean,exports.isBuffer=m.isBuffer,exports.isBufferExists=m.isBufferExists,exports.isClass=l.isClass,exports.isCollection=g.isCollection,exports.isConventionalClass=l.isConventionalClass,exports.isDate=n.isDate,exports.isDeepKey=_.isDeepKey,exports.isEmpty=c.isEmpty,exports.isEmptyAnything=c.isEmptyAnything,exports.isEmptyObject=v.isEmptyObject,exports.isEmptyOrEmptyObject=v.isEmptyOrEmptyObject,exports.isEmptyString=b.isEmptyString,exports.isEqual=x.isEqual,exports.isError=S.isError,exports.isFileResult=E.isFileResult,exports.isFloat=D.isFloat,exports.isFunction=r.isFunction,exports.isInteger=O.isInteger,exports.isKeyOrDeepKey=_.isKeyOrDeepKey,exports.isMergeableObject=A.isMergeableObject,exports.isNativeClass=l.isNativeClass,exports.isNotEmpty=j.isNotEmpty,exports.isNull=i.isNull,exports.isNumber=a.isNumber,exports.isObject=l.isObject,exports.isObjectIndex=M.isObjectIndex,exports.isObjectLike=t.isObjectLike,exports.isPlainObject=t.isPlainObject,exports.isPrimitive=N.isPrimitive,exports.isPromise=P.isPromise,exports.isPromiseLike=P.isPromiseLike,exports.isReactElement=k.isReactElement,exports.isRef=F.isRef,exports.isRegExp=I.isRegExp,exports.isSelectOption=L.isSelectOption,exports.isSet=C.isSet,exports.isSetArray=R.isSetArray,exports.isSetObject=w.isSetObject,exports.isSetString=T.isSetString,exports.isString=y.isString,exports.isSymbol=o.isSymbol,exports.isSyncFunction=r.isSyncFunction,exports.isTyped=z.isTyped,exports.isTypedArray=B.isTypedArray,exports.isURL=V.isURL,exports.isUndefined=s.isUndefined,exports.propertyExists=H.propertyExists,exports.propertyUnsafe=H.propertyUnsafe,exports.typeDetect=h.typeDetect;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
1
|
+
import { getObjectTag } from "./get-object-tag.cjs";
|
|
2
|
+
import { isArrayLike } from "./is-array-like.cjs";
|
|
3
|
+
import { isAsyncIterable } from "./is-async-iterable.cjs";
|
|
4
|
+
import { isBigInt } from "./is-bigint.cjs";
|
|
5
|
+
import { isBoolean } from "./is-boolean.cjs";
|
|
6
|
+
import { isBuffer, isBufferExists } from "./is-buffer.cjs";
|
|
7
|
+
import { isCollection } from "./is-collection.cjs";
|
|
8
|
+
import { isDate } from "./is-date.cjs";
|
|
9
|
+
import { isDeepKey, isKeyOrDeepKey } from "./is-deep-key.cjs";
|
|
10
|
+
import { isEmpty, isEmptyAnything } from "./is-empty.cjs";
|
|
11
|
+
import { isEmptyObject, isEmptyOrEmptyObject } from "./is-empty-object.cjs";
|
|
12
|
+
import { isEmptyString } from "./is-empty-string.cjs";
|
|
13
|
+
import { isEqual } from "./is-equal.cjs";
|
|
14
|
+
import { isError } from "./is-error.cjs";
|
|
15
|
+
import { isFileResult } from "./is-file-result.cjs";
|
|
16
|
+
import { isFloat } from "./is-float.cjs";
|
|
17
|
+
import { isAsyncFunction, isFunction, isSyncFunction } from "./is-function.cjs";
|
|
18
|
+
import { isInteger } from "./is-integer.cjs";
|
|
19
|
+
import { isMergeableObject } from "./is-mergeable-object.cjs";
|
|
20
|
+
import { isNotEmpty } from "./is-not-empty.cjs";
|
|
21
|
+
import { isNull } from "./is-null.cjs";
|
|
22
|
+
import { isAnyNumber, isNumber } from "./is-number.cjs";
|
|
23
|
+
import { isClass, isConventionalClass, isNativeClass, isObject } from "./is-object.cjs";
|
|
24
|
+
import { isObjectIndex } from "./is-object-index.cjs";
|
|
25
|
+
import { isObjectLike, isPlainObject } from "./is-plain-object.cjs";
|
|
26
|
+
import { isPrimitive } from "./is-primitive.cjs";
|
|
27
|
+
import { isPromise, isPromiseLike } from "./is-promise.cjs";
|
|
28
|
+
import { isReactElement } from "./is-react-element.cjs";
|
|
29
|
+
import { isRef } from "./is-ref.cjs";
|
|
30
|
+
import { isRegExp } from "./is-regexp.cjs";
|
|
31
|
+
import { isSelectOption } from "./is-select-option.cjs";
|
|
32
|
+
import { isSet } from "./is-set.cjs";
|
|
33
|
+
import { isSetArray } from "./is-set-array.cjs";
|
|
34
|
+
import { isSetObject } from "./is-set-object.cjs";
|
|
35
|
+
import { isSetString } from "./is-set-string.cjs";
|
|
36
|
+
import { isString } from "./is-string.cjs";
|
|
37
|
+
import { isSymbol } from "./is-symbol.cjs";
|
|
38
|
+
import { isTyped } from "./is-typed.cjs";
|
|
39
|
+
import { isTypedArray } from "./is-typed-array.cjs";
|
|
40
|
+
import { isUndefined } from "./is-undefined.cjs";
|
|
41
|
+
import { isURL } from "./is-url.cjs";
|
|
42
|
+
import { propertyExists, propertyUnsafe } from "./property-exists.cjs";
|
|
43
|
+
import { typeDetect } from "./type-detect.cjs";
|
|
44
44
|
export { getObjectTag, isAnyNumber, isArrayLike, isAsyncFunction, isAsyncIterable, isBigInt, isBoolean, isBuffer, isBufferExists, isClass, isCollection, isConventionalClass, isDate, isDeepKey, isEmpty, isEmptyAnything, isEmptyObject, isEmptyOrEmptyObject, isEmptyString, isEqual, isError, isFileResult, isFloat, isFunction, isInteger, isKeyOrDeepKey, isMergeableObject, isNativeClass, isNotEmpty, isNull, isNumber, isObject, isObjectIndex, isObjectLike, isPlainObject, isPrimitive, isPromise, isPromiseLike, isReactElement, isRef, isRegExp, isSelectOption, isSet, isSetArray, isSetObject, isSetString, isString, isSymbol, isSyncFunction, isTyped, isTypedArray, isURL, isUndefined, propertyExists, propertyUnsafe, typeDetect };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
1
|
+
import { getObjectTag } from "./get-object-tag.mjs";
|
|
2
|
+
import { isArrayLike } from "./is-array-like.mjs";
|
|
3
|
+
import { isAsyncIterable } from "./is-async-iterable.mjs";
|
|
4
|
+
import { isBigInt } from "./is-bigint.mjs";
|
|
5
|
+
import { isBoolean } from "./is-boolean.mjs";
|
|
6
|
+
import { isBuffer, isBufferExists } from "./is-buffer.mjs";
|
|
7
|
+
import { isCollection } from "./is-collection.mjs";
|
|
8
|
+
import { isDate } from "./is-date.mjs";
|
|
9
|
+
import { isDeepKey, isKeyOrDeepKey } from "./is-deep-key.mjs";
|
|
10
|
+
import { isEmpty, isEmptyAnything } from "./is-empty.mjs";
|
|
11
|
+
import { isEmptyObject, isEmptyOrEmptyObject } from "./is-empty-object.mjs";
|
|
12
|
+
import { isEmptyString } from "./is-empty-string.mjs";
|
|
13
|
+
import { isEqual } from "./is-equal.mjs";
|
|
14
|
+
import { isError } from "./is-error.mjs";
|
|
15
|
+
import { isFileResult } from "./is-file-result.mjs";
|
|
16
|
+
import { isFloat } from "./is-float.mjs";
|
|
17
|
+
import { isAsyncFunction, isFunction, isSyncFunction } from "./is-function.mjs";
|
|
18
|
+
import { isInteger } from "./is-integer.mjs";
|
|
19
|
+
import { isMergeableObject } from "./is-mergeable-object.mjs";
|
|
20
|
+
import { isNotEmpty } from "./is-not-empty.mjs";
|
|
21
|
+
import { isNull } from "./is-null.mjs";
|
|
22
|
+
import { isAnyNumber, isNumber } from "./is-number.mjs";
|
|
23
|
+
import { isClass, isConventionalClass, isNativeClass, isObject } from "./is-object.mjs";
|
|
24
|
+
import { isObjectIndex } from "./is-object-index.mjs";
|
|
25
|
+
import { isObjectLike, isPlainObject } from "./is-plain-object.mjs";
|
|
26
|
+
import { isPrimitive } from "./is-primitive.mjs";
|
|
27
|
+
import { isPromise, isPromiseLike } from "./is-promise.mjs";
|
|
28
|
+
import { isReactElement } from "./is-react-element.mjs";
|
|
29
|
+
import { isRef } from "./is-ref.mjs";
|
|
30
|
+
import { isRegExp } from "./is-regexp.mjs";
|
|
31
|
+
import { isSelectOption } from "./is-select-option.mjs";
|
|
32
|
+
import { isSet } from "./is-set.mjs";
|
|
33
|
+
import { isSetArray } from "./is-set-array.mjs";
|
|
34
|
+
import { isSetObject } from "./is-set-object.mjs";
|
|
35
|
+
import { isSetString } from "./is-set-string.mjs";
|
|
36
|
+
import { isString } from "./is-string.mjs";
|
|
37
|
+
import { isSymbol } from "./is-symbol.mjs";
|
|
38
|
+
import { isTyped } from "./is-typed.mjs";
|
|
39
|
+
import { isTypedArray } from "./is-typed-array.mjs";
|
|
40
|
+
import { isUndefined } from "./is-undefined.mjs";
|
|
41
|
+
import { isURL } from "./is-url.mjs";
|
|
42
|
+
import { propertyExists, propertyUnsafe } from "./property-exists.mjs";
|
|
43
|
+
import { typeDetect } from "./type-detect.mjs";
|
|
44
44
|
export { getObjectTag, isAnyNumber, isArrayLike, isAsyncFunction, isAsyncIterable, isBigInt, isBoolean, isBuffer, isBufferExists, isClass, isCollection, isConventionalClass, isDate, isDeepKey, isEmpty, isEmptyAnything, isEmptyObject, isEmptyOrEmptyObject, isEmptyString, isEqual, isError, isFileResult, isFloat, isFunction, isInteger, isKeyOrDeepKey, isMergeableObject, isNativeClass, isNotEmpty, isNull, isNumber, isObject, isObjectIndex, isObjectLike, isPlainObject, isPrimitive, isPromise, isPromiseLike, isReactElement, isRef, isRegExp, isSelectOption, isSet, isSetArray, isSetObject, isSetString, isString, isSymbol, isSyncFunction, isTyped, isTypedArray, isURL, isUndefined, propertyExists, propertyUnsafe, typeDetect };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{getObjectTag as e}from"./get-object-tag.mjs";import{isObjectLike as t,isPlainObject as n}from"./is-plain-object.mjs";import{isDate as r}from"./is-date.mjs";import{isAsyncFunction as i,isFunction as a,isSyncFunction as o}from"./is-function.mjs";import{isNull as s}from"./is-null.mjs";import{isAnyNumber as c,isNumber as l}from"./is-number.mjs";import{isSymbol as u}from"./is-symbol.mjs";import{isUndefined as d}from"./is-undefined.mjs";import{isEmpty as f,isEmptyAnything as p}from"./is-empty.mjs";import{isClass as m,isConventionalClass as h,isNativeClass as g,isObject as _}from"./is-object.mjs";import{isArrayLike as v}from"./is-array-like.mjs";import{isAsyncIterable as y}from"./is-async-iterable.mjs";import{isBigInt as b}from"./is-bigint.mjs";import{isBoolean as x}from"./is-boolean.mjs";import{isBuffer as S,isBufferExists as C}from"./is-buffer.mjs";import{typeDetect as w}from"./type-detect.mjs";import{isCollection as T}from"./is-collection.mjs";import{isDeepKey as E,isKeyOrDeepKey as D}from"./is-deep-key.mjs";import{isEmptyObject as O,isEmptyOrEmptyObject as k}from"./is-empty-object.mjs";import{isString as A}from"./is-string.mjs";import{isEmptyString as j}from"./is-empty-string.mjs";import{isEqual as M}from"./is-equal.mjs";import{isError as N}from"./is-error.mjs";import{isSet as P}from"./is-set.mjs";import{isSetObject as F}from"./is-set-object.mjs";import{isSetString as I}from"./is-set-string.mjs";import{isFileResult as L}from"./is-file-result.mjs";import{isFloat as R}from"./is-float.mjs";import{isInteger as z}from"./is-integer.mjs";import{isReactElement as B}from"./is-react-element.mjs";import{isMergeableObject as V}from"./is-mergeable-object.mjs";import{isNotEmpty as H}from"./is-not-empty.mjs";import{isObjectIndex as U}from"./is-object-index.mjs";import{isPrimitive as W}from"./is-primitive.mjs";import{isPromise as G,isPromiseLike as K}from"./is-promise.mjs";import{isRef as q}from"./is-ref.mjs";import{isRegExp as J}from"./is-regexp.mjs";import{isSelectOption as Y}from"./is-select-option.mjs";import{isSetArray as X}from"./is-set-array.mjs";import{isTyped as Z}from"./is-typed.mjs";import{isTypedArray as Q}from"./is-typed-array.mjs";import{isURL as $}from"./is-url.mjs";import{propertyExists as ee,propertyUnsafe as te}from"./property-exists.mjs";export{e as getObjectTag,c as isAnyNumber,v as isArrayLike,i as isAsyncFunction,y as isAsyncIterable,b as isBigInt,x as isBoolean,S as isBuffer,C as isBufferExists,m as isClass,T as isCollection,h as isConventionalClass,r as isDate,E as isDeepKey,f as isEmpty,p as isEmptyAnything,O as isEmptyObject,k as isEmptyOrEmptyObject,j as isEmptyString,M as isEqual,N as isError,L as isFileResult,R as isFloat,a as isFunction,z as isInteger,D as isKeyOrDeepKey,V as isMergeableObject,g as isNativeClass,H as isNotEmpty,s as isNull,l as isNumber,_ as isObject,U as isObjectIndex,t as isObjectLike,n as isPlainObject,W as isPrimitive,G as isPromise,K as isPromiseLike,B as isReactElement,q as isRef,J as isRegExp,Y as isSelectOption,P as isSet,X as isSetArray,F as isSetObject,I as isSetString,A as isString,u as isSymbol,o as isSyncFunction,Z as isTyped,Q as isTypedArray,$ as isURL,d as isUndefined,ee as propertyExists,te as propertyUnsafe,w as typeDetect};
|
package/dist/is-array-like.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./is-
|
|
1
|
+
const e=require(`./is-number.cjs`),t=require(`./is-empty.cjs`),n=require(`./is-object.cjs`),r=r=>n.isObject(r)&&!t.isEmpty(r)&&`length`in r&&e.isNumber(r.length)&&(r.length===0||r.length>0&&Object.prototype.hasOwnProperty.call(r,r.length-1));exports.isArrayLike=r;
|
package/dist/is-array-like.d.cts
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-array-like.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Check if the provided value's type is "array-like"
|
|
4
|
+
*
|
|
5
|
+
* @param value - The value to type check
|
|
6
|
+
* @returns An indicator specifying if the object provided is "array-like"
|
|
7
|
+
*/
|
|
8
|
+
declare const isArrayLike: (value: any) => boolean;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { isArrayLike };
|
|
11
|
+
//# sourceMappingURL=is-array-like.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-array-like.d.cts","names":[],"sources":["../src/is-array-like.ts"],"sourcesContent":[],"mappings":";;AA4BA;;;;;cAAa"}
|
package/dist/is-array-like.d.mts
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-array-like.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Check if the provided value's type is "array-like"
|
|
4
|
+
*
|
|
5
|
+
* @param value - The value to type check
|
|
6
|
+
* @returns An indicator specifying if the object provided is "array-like"
|
|
7
|
+
*/
|
|
8
|
+
declare const isArrayLike: (value: any) => boolean;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { isArrayLike };
|
|
11
|
+
//# sourceMappingURL=is-array-like.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-array-like.d.mts","names":[],"sources":["../src/is-array-like.ts"],"sourcesContent":[],"mappings":";;AA4BA;;;;;cAAa"}
|
package/dist/is-array-like.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{isNumber as e}from"./is-number.mjs";import{isEmpty as t}from"./is-empty.mjs";import{isObject as n}from"./is-object.mjs";const r=r=>n(r)&&!t(r)&&`length`in r&&e(r.length)&&(r.length===0||r.length>0&&Object.prototype.hasOwnProperty.call(r,r.length-1));export{r as isArrayLike};
|
|
2
|
+
//# sourceMappingURL=is-array-like.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-array-like.mjs","names":[],"sources":["../src/is-array-like.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isEmpty } from \"./is-empty\";\nimport { isNumber } from \"./is-number\";\nimport { isObject } from \"./is-object\";\n\n/**\n * Check if the provided value's type is \"array-like\"\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the object provided is \"array-like\"\n */\nexport const isArrayLike = (value: any): boolean => {\n return (\n isObject(value) &&\n !isEmpty(value) &&\n \"length\" in value &&\n isNumber(value.length) &&\n (value.length === 0 ||\n (value.length > 0 &&\n Object.prototype.hasOwnProperty.call(value, value.length - 1)))\n );\n};\n"],"mappings":"+HA4BA,MAAa,EAAe,GAExB,EAAS,EAAM,EACf,CAAC,EAAQ,EAAM,EACf,WAAY,GACZ,EAAS,EAAM,OAAO,GACrB,EAAM,SAAW,GACf,EAAM,OAAS,GACd,OAAO,UAAU,eAAe,KAAK,EAAO,EAAM,OAAS,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./is-
|
|
1
|
+
const e=require(`./is-null.cjs`),t=require(`./is-object.cjs`),n=n=>t.isObject(n)&&!e.isNull(n)&&Symbol.asyncIterator in n;exports.isAsyncIterable=n;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-async-iterable.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Check if the provided value's type is `AsyncIterable`
|
|
4
|
+
*
|
|
5
|
+
* @param value - The value to type check
|
|
6
|
+
* @returns An indicator specifying if the object provided is `AsyncIterable`
|
|
7
|
+
*/
|
|
8
|
+
declare const isAsyncIterable: (value: unknown) => value is AsyncIterable<unknown>;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { isAsyncIterable };
|
|
11
|
+
//# sourceMappingURL=is-async-iterable.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-async-iterable.d.cts","names":[],"sources":["../src/is-async-iterable.ts"],"sourcesContent":[],"mappings":";;AA2BA;;;;;cAAa,8CAED"}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-async-iterable.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Check if the provided value's type is `AsyncIterable`
|
|
4
|
+
*
|
|
5
|
+
* @param value - The value to type check
|
|
6
|
+
* @returns An indicator specifying if the object provided is `AsyncIterable`
|
|
7
|
+
*/
|
|
8
|
+
declare const isAsyncIterable: (value: unknown) => value is AsyncIterable<unknown>;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { isAsyncIterable };
|
|
11
|
+
//# sourceMappingURL=is-async-iterable.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-async-iterable.d.mts","names":[],"sources":["../src/is-async-iterable.ts"],"sourcesContent":[],"mappings":";;AA2BA;;;;;cAAa,8CAED"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{isNull as e}from"./is-null.mjs";import{isObject as t}from"./is-object.mjs";const n=n=>t(n)&&!e(n)&&Symbol.asyncIterator in n;export{n as isAsyncIterable};
|
|
2
|
+
//# sourceMappingURL=is-async-iterable.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-async-iterable.mjs","names":[],"sources":["../src/is-async-iterable.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isNull } from \"./is-null\";\nimport { isObject } from \"./is-object\";\n\n/**\n * Check if the provided value's type is `AsyncIterable`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the object provided is `AsyncIterable`\n */\nexport const isAsyncIterable = (\n value: unknown\n): value is AsyncIterable<unknown> => {\n return isObject(value) && !isNull(value) && Symbol.asyncIterator in value;\n};\n"],"mappings":"kFA2BA,MAAa,EACX,GAEO,EAAS,EAAM,EAAI,CAAC,EAAO,EAAM,EAAI,OAAO,iBAAiB"}
|
package/dist/is-bigint.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./
|
|
1
|
+
const e=require(`./get-object-tag.cjs`),t=t=>typeof t==`bigint`||e.getObjectTag(t)==`[object BigInt]`;exports.isBigInt=t;
|
package/dist/is-bigint.d.cts
CHANGED
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-bigint.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Checks if `value` is classified as a `bigint` object.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```typescript
|
|
7
|
+
* isDate(37n)
|
|
8
|
+
* // => true
|
|
9
|
+
*
|
|
10
|
+
* isBigInt(37)
|
|
11
|
+
* // => false
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* @param value - The obj to check.
|
|
15
|
+
* @returns Returns `true` if `value` is a bigint object, else `false`.
|
|
16
|
+
*/
|
|
17
|
+
declare const isBigInt: (value: unknown) => value is bigint;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { isBigInt };
|
|
20
|
+
//# sourceMappingURL=is-bigint.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-bigint.d.cts","names":[],"sources":["../src/is-bigint.ts"],"sourcesContent":[],"mappings":";;AAmCA;;;;;;;;;;;;;;cAAa"}
|
package/dist/is-bigint.d.mts
CHANGED
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-bigint.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Checks if `value` is classified as a `bigint` object.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```typescript
|
|
7
|
+
* isDate(37n)
|
|
8
|
+
* // => true
|
|
9
|
+
*
|
|
10
|
+
* isBigInt(37)
|
|
11
|
+
* // => false
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* @param value - The obj to check.
|
|
15
|
+
* @returns Returns `true` if `value` is a bigint object, else `false`.
|
|
16
|
+
*/
|
|
17
|
+
declare const isBigInt: (value: unknown) => value is bigint;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { isBigInt };
|
|
20
|
+
//# sourceMappingURL=is-bigint.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-bigint.d.mts","names":[],"sources":["../src/is-bigint.ts"],"sourcesContent":[],"mappings":";;AAmCA;;;;;;;;;;;;;;cAAa"}
|
package/dist/is-bigint.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{getObjectTag as e}from"./get-object-tag.mjs";const t=t=>typeof t==`bigint`||e(t)==`[object BigInt]`;export{t as isBigInt};
|
|
2
|
+
//# sourceMappingURL=is-bigint.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-bigint.mjs","names":[],"sources":["../src/is-bigint.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { getObjectTag } from \"./get-object-tag\";\n\n/**\n * Checks if `value` is classified as a `bigint` object.\n *\n * @example\n * ```typescript\n * isDate(37n)\n * // => true\n *\n * isBigInt(37)\n * // => false\n * ```\n *\n * @param value - The obj to check.\n * @returns Returns `true` if `value` is a bigint object, else `false`.\n */\nexport const isBigInt = (value: unknown): value is bigint =>\n typeof value === \"bigint\" || getObjectTag(value) == \"[object BigInt]\";\n"],"mappings":"oDAmCA,MAAa,EAAY,GACvB,OAAO,GAAU,UAAY,EAAa,EAAM,EAAI"}
|
package/dist/is-boolean.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=
|
|
1
|
+
const e=e=>{try{return e instanceof Boolean||typeof e==`boolean`||!!e===e}catch{return!1}};exports.isBoolean=e;
|
package/dist/is-boolean.d.cts
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-boolean.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Check if the provided value's type is `boolean`
|
|
4
|
+
*
|
|
5
|
+
* @param value - The value to type check
|
|
6
|
+
* @returns An indicator specifying if the value provided is of type `boolean`
|
|
7
|
+
*/
|
|
8
|
+
declare const isBoolean: (value: unknown) => value is boolean;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { isBoolean };
|
|
11
|
+
//# sourceMappingURL=is-boolean.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-boolean.d.cts","names":[],"sources":["../src/is-boolean.ts"],"sourcesContent":[],"mappings":";;AAwBA;;;;;cAAa"}
|
package/dist/is-boolean.d.mts
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-boolean.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Check if the provided value's type is `boolean`
|
|
4
|
+
*
|
|
5
|
+
* @param value - The value to type check
|
|
6
|
+
* @returns An indicator specifying if the value provided is of type `boolean`
|
|
7
|
+
*/
|
|
8
|
+
declare const isBoolean: (value: unknown) => value is boolean;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { isBoolean };
|
|
11
|
+
//# sourceMappingURL=is-boolean.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-boolean.d.mts","names":[],"sources":["../src/is-boolean.ts"],"sourcesContent":[],"mappings":";;AAwBA;;;;;cAAa"}
|
package/dist/is-boolean.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
const e=e=>{try{return e instanceof Boolean||typeof e==`boolean`||!!e===e}catch{return!1}};export{e as isBoolean};
|
|
2
|
+
//# sourceMappingURL=is-boolean.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-boolean.mjs","names":[],"sources":["../src/is-boolean.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Check if the provided value's type is `boolean`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `boolean`\n */\nexport const isBoolean = (value: unknown): value is boolean => {\n try {\n return (\n value instanceof Boolean ||\n typeof value === \"boolean\" ||\n Boolean(value) === value\n );\n } catch {\n return false;\n }\n};\n"],"mappings":"AAwBA,MAAa,EAAa,GAAqC,CAC7D,GAAI,CACF,OACE,aAAiB,SACjB,OAAO,GAAU,WACjB,EAAQ,IAAW,OAEf,CACN,MAAO"}
|
package/dist/is-buffer.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=
|
|
1
|
+
const e=typeof Buffer<`u`,t=e?Buffer.isBuffer.bind(Buffer):function(e){return!1};exports.isBuffer=t,exports.isBufferExists=e;
|
package/dist/is-buffer.d.cts
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-buffer.d.ts
|
|
2
|
+
declare const isBufferExists: boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Check if the provided value's type is `Buffer`
|
|
5
|
+
*/
|
|
6
|
+
declare const isBuffer: typeof Buffer.isBuffer;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { isBuffer, isBufferExists };
|
|
9
|
+
//# sourceMappingURL=is-buffer.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-buffer.d.cts","names":[],"sources":["../src/is-buffer.ts"],"sourcesContent":[],"mappings":";cAkBa;AAAb;AAKA;;cAAa,iBAAiB,MAAA,CAAO"}
|
package/dist/is-buffer.d.mts
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/is-buffer.d.ts
|
|
2
|
+
declare const isBufferExists: boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Check if the provided value's type is `Buffer`
|
|
5
|
+
*/
|
|
6
|
+
declare const isBuffer: typeof Buffer.isBuffer;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { isBuffer, isBufferExists };
|
|
9
|
+
//# sourceMappingURL=is-buffer.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-buffer.d.mts","names":[],"sources":["../src/is-buffer.ts"],"sourcesContent":[],"mappings":";cAkBa;AAAb;AAKA;;cAAa,iBAAiB,MAAA,CAAO"}
|
package/dist/is-buffer.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
const e=typeof Buffer<`u`,t=e?Buffer.isBuffer.bind(Buffer):function(e){return!1};export{t as isBuffer,e as isBufferExists};
|
|
2
|
+
//# sourceMappingURL=is-buffer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-buffer.mjs","names":["isBuffer: typeof Buffer.isBuffer","isBuffer"],"sources":["../src/is-buffer.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const isBufferExists = typeof Buffer !== \"undefined\";\n\n/**\n * Check if the provided value's type is `Buffer`\n */\nexport const isBuffer: typeof Buffer.isBuffer = isBufferExists\n ? Buffer.isBuffer.bind(Buffer)\n : /**\n * Check if the provided value's type is `Buffer`\n\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Buffer`\n */\n function isBuffer(\n value: Parameters<typeof Buffer.isBuffer>[0]\n ): value is Buffer {\n return false;\n };\n"],"mappings":"AAkBA,MAAa,EAAiB,OAAO,OAAW,IAKnCA,EAAmC,EAC5C,OAAO,SAAS,KAAK,OAAO,CAO5B,SACE,EACiB,CACjB,MAAO"}
|
package/dist/is-collection.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./
|
|
1
|
+
const e=require(`./type-detect.cjs`),t=new Set([`Arguments`,`Array`,`Map`,`Object`,`Set`]);function n(n){return t.has(e.typeDetect(n))}exports.isCollection=n;
|