@stryke/type-checks 0.5.8 → 0.5.10
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
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { i as NativeClass } from "./base-DsupRZHl.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-object.d.ts
|
|
4
|
-
/** Is ES6+ class */
|
|
5
|
-
declare function isNativeClass(value?: any): value is NativeClass;
|
|
6
|
-
/**
|
|
7
|
-
* Check if the provided value's type is a conventional class
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
* Is Conventional Class
|
|
11
|
-
* Looks for function with capital first letter MyClass
|
|
12
|
-
* First letter is the 9th character
|
|
13
|
-
* If changed, isClass must also be updated
|
|
14
|
-
*
|
|
15
|
-
* @param value - The value to type check
|
|
16
|
-
* @returns An indicator specifying if the value provided is a conventional class
|
|
17
|
-
*/
|
|
18
|
-
declare function isConventionalClass(value?: any): value is Function;
|
|
19
|
-
/**
|
|
20
|
-
* Check if the provided value's type is `Object`
|
|
21
|
-
*
|
|
22
|
-
* @param value - The value to type check
|
|
23
|
-
* @returns An indicator specifying if the value provided is of type `Object`
|
|
24
|
-
*/
|
|
25
|
-
declare function isClass(value?: any): value is Function | NativeClass;
|
|
26
|
-
/**
|
|
27
|
-
* Check if the provided value's type is `Object`
|
|
28
|
-
*
|
|
29
|
-
* @param value - The value to type check
|
|
30
|
-
* @returns An indicator specifying if the value provided is of type `Object`
|
|
31
|
-
*/
|
|
32
|
-
declare const isObject: (value: unknown) => value is object;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { isObject as i, isConventionalClass as n, isNativeClass as r, isClass as t };
|
|
35
|
-
//# sourceMappingURL=is-object-vHTx3owB.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-object-vHTx3owB.d.cts","names":[],"sources":["../src/is-object.ts"],"sourcesContent":[],"mappings":";;;;iBA8BgB,aAAA,wBAAqC;AAArD;AAmBA;AAaA;AAWA;;;;;;;;;iBAxBgB,mBAAA,wBAA2C;;;;;;;iBAa3C,OAAA,wBAA+B,WAAW;;;;;;;cAW7C"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { a as PlainObject } from "./base-DsupRZHl.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-plain-object.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
7
|
-
* and has a `typeof` result of "object".
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```typescript
|
|
11
|
-
* isObjectLike({})
|
|
12
|
-
* // => true
|
|
13
|
-
*
|
|
14
|
-
* isObjectLike([1, 2, 3])
|
|
15
|
-
* // => true
|
|
16
|
-
*
|
|
17
|
-
* isObjectLike(Function)
|
|
18
|
-
* // => false
|
|
19
|
-
*
|
|
20
|
-
* isObjectLike(null)
|
|
21
|
-
* // => false
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @param value - The value to check.
|
|
25
|
-
* @returns Returns `true` if `value` is object-like, else `false`.
|
|
26
|
-
*/
|
|
27
|
-
declare const isObjectLike: (obj: unknown) => obj is object;
|
|
28
|
-
/**
|
|
29
|
-
* Checks if `obj` is a plain object, that is, an object created by the `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```typescript
|
|
33
|
-
* function Foo() {
|
|
34
|
-
* this.a = 1
|
|
35
|
-
* }
|
|
36
|
-
*
|
|
37
|
-
* isPlainObject(new Foo)
|
|
38
|
-
* // => false
|
|
39
|
-
*
|
|
40
|
-
* isPlainObject([1, 2, 3])
|
|
41
|
-
* // => false
|
|
42
|
-
*
|
|
43
|
-
* isPlainObject({ 'x': 0, 'y': 0 })
|
|
44
|
-
* // => true
|
|
45
|
-
*
|
|
46
|
-
* isPlainObject(Object.create(null))
|
|
47
|
-
* // => true
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @param obj - The value to check.
|
|
51
|
-
* @returns Returns `true` if `obj` is a plain object, else `false`.
|
|
52
|
-
*/
|
|
53
|
-
declare const isPlainObject: (obj: unknown) => obj is PlainObject;
|
|
54
|
-
//#endregion
|
|
55
|
-
export { isPlainObject as n, isObjectLike as t };
|
|
56
|
-
//# sourceMappingURL=is-plain-object-C_RxAc-k.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-plain-object-C_RxAc-k.d.cts","names":[],"sources":["../src/is-plain-object.ts"],"sourcesContent":[],"mappings":";;;;;;AA2CA;AA6BA;;;;;;;;;;;;;;;;;;;cA7Ba;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BA,wCAAuC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./get-object-tag-DF2FAXqH.mjs";const t=e=>typeof e==`object`&&!!e,n=n=>{if(!t(n)||e(n)!==`[object Object]`)return!1;if(Object.getPrototypeOf(n)===null)return!0;let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r};export{n,t};
|
|
2
|
-
//# sourceMappingURL=is-plain-object-Cqr8u4ef.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-plain-object-Cqr8u4ef.mjs","names":[],"sources":["../src/is-plain-object.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 type { PlainObject } from \"@stryke/types/base\";\nimport { getObjectTag } from \"./get-object-tag\";\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @example\n * ```typescript\n * isObjectLike({})\n * // => true\n *\n * isObjectLike([1, 2, 3])\n * // => true\n *\n * isObjectLike(Function)\n * // => false\n *\n * isObjectLike(null)\n * // => false\n * ```\n *\n * @param value - The value to check.\n * @returns Returns `true` if `value` is object-like, else `false`.\n */\nexport const isObjectLike = (obj: unknown) => {\n return typeof obj === \"object\" && obj !== null;\n};\n\n/**\n * Checks if `obj` is a plain object, that is, an object created by the `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @example\n * ```typescript\n * function Foo() {\n * this.a = 1\n * }\n *\n * isPlainObject(new Foo)\n * // => false\n *\n * isPlainObject([1, 2, 3])\n * // => false\n *\n * isPlainObject({ 'x': 0, 'y': 0 })\n * // => true\n *\n * isPlainObject(Object.create(null))\n * // => true\n * ```\n *\n * @param obj - The value to check.\n * @returns Returns `true` if `obj` is a plain object, else `false`.\n */\nexport const isPlainObject = (obj: unknown): obj is PlainObject => {\n if (!isObjectLike(obj) || getObjectTag(obj) !== \"[object Object]\") {\n return false;\n }\n if (Object.getPrototypeOf(obj) === null) {\n return true;\n }\n let proto = obj;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(obj) === proto;\n};\n"],"mappings":"kDA2CA,MAAa,EAAgB,GACpB,OAAO,GAAQ,YAAY,EA4BvB,EAAiB,GAAqC,CACjE,GAAI,CAAC,EAAa,EAAI,EAAI,EAAa,EAAI,GAAK,kBAC9C,MAAO,GAET,GAAI,OAAO,eAAe,EAAI,GAAK,KACjC,MAAO,GAET,IAAI,EAAQ,EACZ,KAAO,OAAO,eAAe,EAAM,GAAK,MACtC,EAAQ,OAAO,eAAe,EAAM,CAEtC,OAAO,OAAO,eAAe,EAAI,GAAK"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { a as PlainObject } from "./base-BghPfa26.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-plain-object.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
7
|
-
* and has a `typeof` result of "object".
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```typescript
|
|
11
|
-
* isObjectLike({})
|
|
12
|
-
* // => true
|
|
13
|
-
*
|
|
14
|
-
* isObjectLike([1, 2, 3])
|
|
15
|
-
* // => true
|
|
16
|
-
*
|
|
17
|
-
* isObjectLike(Function)
|
|
18
|
-
* // => false
|
|
19
|
-
*
|
|
20
|
-
* isObjectLike(null)
|
|
21
|
-
* // => false
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @param value - The value to check.
|
|
25
|
-
* @returns Returns `true` if `value` is object-like, else `false`.
|
|
26
|
-
*/
|
|
27
|
-
declare const isObjectLike: (obj: unknown) => obj is object;
|
|
28
|
-
/**
|
|
29
|
-
* Checks if `obj` is a plain object, that is, an object created by the `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```typescript
|
|
33
|
-
* function Foo() {
|
|
34
|
-
* this.a = 1
|
|
35
|
-
* }
|
|
36
|
-
*
|
|
37
|
-
* isPlainObject(new Foo)
|
|
38
|
-
* // => false
|
|
39
|
-
*
|
|
40
|
-
* isPlainObject([1, 2, 3])
|
|
41
|
-
* // => false
|
|
42
|
-
*
|
|
43
|
-
* isPlainObject({ 'x': 0, 'y': 0 })
|
|
44
|
-
* // => true
|
|
45
|
-
*
|
|
46
|
-
* isPlainObject(Object.create(null))
|
|
47
|
-
* // => true
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @param obj - The value to check.
|
|
51
|
-
* @returns Returns `true` if `obj` is a plain object, else `false`.
|
|
52
|
-
*/
|
|
53
|
-
declare const isPlainObject: (obj: unknown) => obj is PlainObject;
|
|
54
|
-
//#endregion
|
|
55
|
-
export { isPlainObject as n, isObjectLike as t };
|
|
56
|
-
//# sourceMappingURL=is-plain-object-D0i2qmvk.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-plain-object-D0i2qmvk.d.mts","names":[],"sources":["../src/is-plain-object.ts"],"sourcesContent":[],"mappings":";;;;;;AA2CA;AA6BA;;;;;;;;;;;;;;;;;;;cA7Ba;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BA,wCAAuC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./get-object-tag-BHnhgixj.cjs`),t=e=>typeof e==`object`&&!!e,n=n=>{if(!t(n)||e.t(n)!==`[object Object]`)return!1;if(Object.getPrototypeOf(n)===null)return!0;let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r};Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-primitive-BsdQZkNT.mjs","names":[],"sources":["../src/is-primitive.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 isPrimitive = (value: unknown): boolean => {\n try {\n return (\n value === undefined ||\n value === null ||\n (typeof value !== \"object\" && typeof value !== \"function\")\n );\n } catch {\n return false;\n }\n};\n"],"mappings":"AAkBA,MAAa,EAAe,GAA4B,CACtD,GAAI,CACF,OACE,GACU,MACT,OAAO,GAAU,UAAY,OAAO,GAAU,gBAE3C,CACN,MAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-primitive-C390YHii.d.cts","names":[],"sources":["../src/is-primitive.ts"],"sourcesContent":[],"mappings":";cAkBa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-primitive-CofpOCbi.d.mts","names":[],"sources":["../src/is-primitive.ts"],"sourcesContent":[],"mappings":";cAkBa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=e=>{try{return e==null||typeof e!=`object`&&typeof e!=`function`}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//#region src/is-promise.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if the provided value's type is a promise
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the object provided is of type a promise
|
|
7
|
-
*/
|
|
8
|
-
declare const isPromise: (value: unknown) => value is Promise<unknown>;
|
|
9
|
-
/**
|
|
10
|
-
* Check if the provided value's type is a promise-like
|
|
11
|
-
*
|
|
12
|
-
* @remarks
|
|
13
|
-
* A promise-like is an object that has a `then` function
|
|
14
|
-
*
|
|
15
|
-
* @param value - The value to type check
|
|
16
|
-
* @returns An indicator specifying if the object provided is of type a promise-like
|
|
17
|
-
*/
|
|
18
|
-
declare const isPromiseLike: (value: unknown) => value is PromiseLike<unknown>;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { isPromiseLike as n, isPromise as t };
|
|
21
|
-
//# sourceMappingURL=is-promise-5PXY2aAR.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-promise-5PXY2aAR.d.mts","names":[],"sources":["../src/is-promise.ts"],"sourcesContent":[],"mappings":";;AA2BA;AAaA;;;;cAba,wCAAuC;;;;;;;;;;cAavC,4CAA2C"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//#region src/is-promise.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if the provided value's type is a promise
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the object provided is of type a promise
|
|
7
|
-
*/
|
|
8
|
-
declare const isPromise: (value: unknown) => value is Promise<unknown>;
|
|
9
|
-
/**
|
|
10
|
-
* Check if the provided value's type is a promise-like
|
|
11
|
-
*
|
|
12
|
-
* @remarks
|
|
13
|
-
* A promise-like is an object that has a `then` function
|
|
14
|
-
*
|
|
15
|
-
* @param value - The value to type check
|
|
16
|
-
* @returns An indicator specifying if the object provided is of type a promise-like
|
|
17
|
-
*/
|
|
18
|
-
declare const isPromiseLike: (value: unknown) => value is PromiseLike<unknown>;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { isPromiseLike as n, isPromise as t };
|
|
21
|
-
//# sourceMappingURL=is-promise-BaPgf52D.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-promise-BaPgf52D.d.cts","names":[],"sources":["../src/is-promise.ts"],"sourcesContent":[],"mappings":";;AA2BA;AAaA;;;;cAba,wCAAuC;;;;;;;;;;cAavC,4CAA2C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-promise-D8fY4qSb.mjs","names":[],"sources":["../src/is-promise.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 { isFunction } from \"./is-function\";\nimport { isObject } from \"./is-object\";\n\n/**\n * Check if the provided value's type is a promise\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the object provided is of type a promise\n */\nexport const isPromise = (value: unknown): value is Promise<unknown> => {\n return isObject(value) && isFunction((value as Promise<unknown>)?.then);\n};\n\n/**\n * Check if the provided value's type is a promise-like\n *\n * @remarks\n * A promise-like is an object that has a `then` function\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the object provided is of type a promise-like\n */\nexport const isPromiseLike = (value: unknown): value is PromiseLike<unknown> =>\n typeof (value as any)?.then === \"function\";\n"],"mappings":"4FA2BA,MAAa,EAAa,GACjB,EAAS,EAAM,EAAI,EAAY,GAA4B,KAAK,CAY5D,EAAiB,GAC5B,OAAQ,GAAe,MAAS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-function-Ge8gcRnx.cjs`),t=require(`./is-object-Dm1523kn.cjs`),n=n=>t.i(n)&&e.n(n?.then),r=e=>typeof e?.then==`function`;Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-react-element-BBgqI-yD.d.cts","names":[],"sources":["../src/is-react-element.ts"],"sourcesContent":[],"mappings":";cAkBa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-react-element-CyrQE5Qy.d.mts","names":[],"sources":["../src/is-react-element.ts"],"sourcesContent":[],"mappings":";cAkBa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=e=>e.$$typeof===(typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-react-element-s285_TUk.mjs","names":[],"sources":["../src/is-react-element.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 isReactElement = (value: any) => {\n return (\n value.$$typeof ===\n (typeof Symbol === \"function\" && Symbol.for\n ? Symbol.for(\"react.element\")\n : 0xea_c7)\n );\n};\n"],"mappings":"AAkBA,MAAa,EAAkB,GAE3B,EAAM,YACL,OAAO,QAAW,YAAc,OAAO,IACpC,OAAO,IAAI,gBAAgB,CAC3B"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { o as RefObject } from "./base-BghPfa26.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-ref.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Check if the provided value's type is a ref
|
|
7
|
-
*
|
|
8
|
-
* @param value - The value to type check
|
|
9
|
-
* @returns An indicator specifying if the object provided is of type ref
|
|
10
|
-
*/
|
|
11
|
-
declare const isRef: <TRef = unknown>(value: unknown) => value is RefObject<TRef>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { isRef as t };
|
|
14
|
-
//# sourceMappingURL=is-ref-BiTQudvt.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-ref-BiTQudvt.d.mts","names":[],"sources":["../src/is-ref.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;cAAa,oDAED,UAAU"}
|
package/dist/is-ref-BqQN-H_W.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=e=>{try{return e?.current!==void 0}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { o as RefObject } from "./base-DsupRZHl.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-ref.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Check if the provided value's type is a ref
|
|
7
|
-
*
|
|
8
|
-
* @param value - The value to type check
|
|
9
|
-
* @returns An indicator specifying if the object provided is of type ref
|
|
10
|
-
*/
|
|
11
|
-
declare const isRef: <TRef = unknown>(value: unknown) => value is RefObject<TRef>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { isRef as t };
|
|
14
|
-
//# sourceMappingURL=is-ref-C7Ce1mFX.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-ref-C7Ce1mFX.d.cts","names":[],"sources":["../src/is-ref.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;cAAa,oDAED,UAAU"}
|
package/dist/is-ref-DrnjEWuV.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-ref-DrnjEWuV.mjs","names":[],"sources":["../src/is-ref.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 type { RefObject } from \"@stryke/types/base\";\n\n/**\n * Check if the provided value's type is a ref\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the object provided is of type ref\n */\nexport const isRef = <TRef = unknown>(\n value: unknown\n): value is RefObject<TRef> => {\n try {\n return (value as RefObject<TRef>)?.current !== undefined;\n } catch {\n return false;\n }\n};\n"],"mappings":"AA0BA,MAAa,EACX,GAC6B,CAC7B,GAAI,CACF,OAAQ,GAA2B,UAAY,IAAA,QACzC,CACN,MAAO"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
//#region src/is-regexp.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Checks if `value` is classified as a `isRegExp` object.
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```typescript
|
|
7
|
-
* isRegExp(new Date)
|
|
8
|
-
* // => true
|
|
9
|
-
*
|
|
10
|
-
* isRegExp('Mon April 23 2012')
|
|
11
|
-
* // => false
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
* @param value - The value to check.
|
|
15
|
-
* @returns Returns `true` if `obj` is a isRegExp object, else `false`.
|
|
16
|
-
*/
|
|
17
|
-
declare const isRegExp: (value: unknown) => value is RegExp;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { isRegExp as t };
|
|
20
|
-
//# sourceMappingURL=is-regexp-BRY1zuVr.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-regexp-BRY1zuVr.d.mts","names":[],"sources":["../src/is-regexp.ts"],"sourcesContent":[],"mappings":";;AAoCA;;;;;;;;;;;;;;cAAa,uCAAsC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
//#region src/is-regexp.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Checks if `value` is classified as a `isRegExp` object.
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```typescript
|
|
7
|
-
* isRegExp(new Date)
|
|
8
|
-
* // => true
|
|
9
|
-
*
|
|
10
|
-
* isRegExp('Mon April 23 2012')
|
|
11
|
-
* // => false
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
* @param value - The value to check.
|
|
15
|
-
* @returns Returns `true` if `obj` is a isRegExp object, else `false`.
|
|
16
|
-
*/
|
|
17
|
-
declare const isRegExp: (value: unknown) => value is RegExp;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { isRegExp as t };
|
|
20
|
-
//# sourceMappingURL=is-regexp-BWzNkf_C.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-regexp-BWzNkf_C.d.cts","names":[],"sources":["../src/is-regexp.ts"],"sourcesContent":[],"mappings":";;AAoCA;;;;;;;;;;;;;;cAAa,uCAAsC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-regexp-Beh3UwFi.mjs","names":[],"sources":["../src/is-regexp.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\";\nimport { isObjectLike } from \"./is-plain-object\";\n\n/**\n * Checks if `value` is classified as a `isRegExp` object.\n *\n * @example\n * ```typescript\n * isRegExp(new Date)\n * // => true\n *\n * isRegExp('Mon April 23 2012')\n * // => false\n * ```\n *\n * @param value - The value to check.\n * @returns Returns `true` if `obj` is a isRegExp object, else `false`.\n */\nexport const isRegExp = (value: unknown): value is RegExp =>\n isObjectLike(value) && getObjectTag(value) === \"[object RegExp]\";\n"],"mappings":"gGAoCA,MAAa,EAAY,GACvB,EAAa,EAAM,EAAI,EAAa,EAAM,GAAK"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./get-object-tag-BHnhgixj.cjs`),t=require(`./is-plain-object-DuvbtXws.cjs`),n=n=>t.t(n)&&e.t(n)===`[object RegExp]`;Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-select-option-B5qnA3jc.d.cts","names":[],"sources":["../../types/src/form.ts","../src/is-select-option.ts"],"sourcesContent":[],"mappings":";;;KAoBY,iBAAA;;AAAZ;AAKA;AACiB,UADA,YACA,CAAA,eAAA,iBAAA,GAAoB,iBAApB,EAAA,QAAA,MAAA,CAAA,SAEP,aAFO,CAEO,MAFP,EAEe,KAFf,CAAA,CAAA;EAAoB;;;EAE3B,KAAA,EAAA,MAAA;EAAa;;;;ECDV;;;;;;;;;;;;;;;;;;;;;;;;;ADPb;AAKA;;;AAGwB,cCDX,cDCW,EAAA,CAAA,KAAA,EAAA,OAAA,EAAA,GAAA,KAAA,ICDiC,YDCjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-empty-DVetNKe9.cjs`),t=t=>{try{return!e.t(t?.name)&&`value`in t}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-select-option-DokUPHZT.d.mts","names":[],"sources":["../../types/src/form.ts","../src/is-select-option.ts"],"sourcesContent":[],"mappings":";;;KAoBY,iBAAA;;AAAZ;AAKA;AACiB,UADA,YACA,CAAA,eAAA,iBAAA,GAAoB,iBAApB,EAAA,QAAA,MAAA,CAAA,SAEP,aAFO,CAEO,MAFP,EAEe,KAFf,CAAA,CAAA;EAAoB;;;EAE3B,KAAA,EAAA,MAAA;EAAa;;;;ECDV;;;;;;;;;;;;;;;;;;;;;;;;;ADPb;AAKA;;;AAGwB,cCDX,cDCW,EAAA,CAAA,KAAA,EAAA,OAAA,EAAA,GAAA,KAAA,ICDiC,YDCjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-select-option-U8pDtgdu.mjs","names":[],"sources":["../src/is-select-option.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 type { SelectOption } from \"@stryke/types/form\";\nimport { isEmpty } from \"./is-empty\";\n\n/**\n * Check if the provided value's type is SelectOption\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the object provided is of type SelectOption\n */\nexport const isSelectOption = (value: unknown): value is SelectOption => {\n try {\n return (\n !isEmpty((value as SelectOption)?.name) &&\n \"value\" in (value as SelectOption)\n );\n } catch {\n return false;\n }\n};\n"],"mappings":"4CA2BA,MAAa,EAAkB,GAA0C,CACvE,GAAI,CACF,MACE,CAAC,EAAS,GAAwB,KAAK,EACvC,UAAY,OAER,CACN,MAAO"}
|
package/dist/is-set-BKGJRvlT.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-empty-DVetNKe9.cjs`),t=t=>{try{return!e.t(t)}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-set.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* The inverse of the `isEmpty` function
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`
|
|
7
|
-
*/
|
|
8
|
-
declare const isSet: (value: unknown) => value is NonNullable<unknown>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isSet as t };
|
|
11
|
-
//# sourceMappingURL=is-set-DHpYu7nt.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-DHpYu7nt.d.cts","names":[],"sources":["../src/is-set.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa,oCAAmC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-set.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* The inverse of the `isEmpty` function
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`
|
|
7
|
-
*/
|
|
8
|
-
declare const isSet: (value: unknown) => value is NonNullable<unknown>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isSet as t };
|
|
11
|
-
//# sourceMappingURL=is-set-Tym9nZwJ.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-Tym9nZwJ.d.mts","names":[],"sources":["../src/is-set.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa,oCAAmC"}
|
package/dist/is-set-XlU8yblR.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-XlU8yblR.mjs","names":[],"sources":["../src/is-set.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\";\n\n/**\n * The inverse of the `isEmpty` function\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`\n */\nexport const isSet = (value: unknown): value is NonNullable<unknown> => {\n try {\n return !isEmpty(value);\n } catch {\n return false;\n }\n};\n"],"mappings":"4CA0BA,MAAa,EAAS,GAAkD,CACtE,GAAI,CACF,MAAO,CAAC,EAAQ,EAAM,MAChB,CACN,MAAO"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-set-array.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if the provided value is a non-empty array-like object
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the object provided is a non-empty array-like object
|
|
7
|
-
*/
|
|
8
|
-
declare const isSetArray: (value: any) => boolean;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isSetArray as t };
|
|
11
|
-
//# sourceMappingURL=is-set-array-BuFd2cLT.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-array-BuFd2cLT.d.cts","names":[],"sources":["../src/is-set-array.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-array-like-DbVeBoEe.cjs`),t=t=>e.t(t)&&t.length>0;Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-array-D6GXc5K_.mjs","names":[],"sources":["../src/is-set-array.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 { isArrayLike } from \"./is-array-like\";\n\n/**\n * Check if the provided value is a non-empty array-like object\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the object provided is a non-empty array-like object\n */\nexport const isSetArray = (value: any): boolean => {\n return isArrayLike(value) && value.length > 0;\n};\n"],"mappings":"iDA0BA,MAAa,EAAc,GAClB,EAAY,EAAM,EAAI,EAAM,OAAS"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-set-array.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if the provided value is a non-empty array-like object
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the object provided is a non-empty array-like object
|
|
7
|
-
*/
|
|
8
|
-
declare const isSetArray: (value: any) => boolean;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isSetArray as t };
|
|
11
|
-
//# sourceMappingURL=is-set-array-jWb--6v8.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-array-jWb--6v8.d.mts","names":[],"sources":["../src/is-set-array.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-set-object.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if the provided value's type is an object with some fields set
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the value provided is an object with some fields se
|
|
7
|
-
*/
|
|
8
|
-
declare const isSetObject: (value: unknown) => value is NonNullable<object>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isSetObject as t };
|
|
11
|
-
//# sourceMappingURL=is-set-object-BC019q7K.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-object-BC019q7K.d.mts","names":[],"sources":["../src/is-set-object.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa,0CAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-non-null-object-Ctm4-rn6.cjs`),t=t=>{try{return e.t(t)&&Object.keys(t).length>0}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-set-object.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if the provided value's type is an object with some fields set
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the value provided is an object with some fields se
|
|
7
|
-
*/
|
|
8
|
-
declare const isSetObject: (value: unknown) => value is NonNullable<object>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isSetObject as t };
|
|
11
|
-
//# sourceMappingURL=is-set-object-DExQ3zYh.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-object-DExQ3zYh.d.cts","names":[],"sources":["../src/is-set-object.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa,0CAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-object-m4I3zBXN.mjs","names":[],"sources":["../src/is-set-object.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 { isNonNullObject } from \"./is-non-null-object\";\n\n/**\n * Check if the provided value's type is an object with some fields set\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is an object with some fields se\n */\nexport const isSetObject = (value: unknown): value is NonNullable<object> => {\n try {\n return isNonNullObject(value) && Object.keys(value).length > 0;\n } catch {\n return false;\n }\n};\n"],"mappings":"sDA0BA,MAAa,EAAe,GAAiD,CAC3E,GAAI,CACF,OAAO,EAAgB,EAAM,EAAI,OAAO,KAAK,EAAM,CAAC,OAAS,OACvD,CACN,MAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-string-B4g6w3Ao.mjs","names":[],"sources":["../src/is-set-string.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 { isSet } from \"./is-set\";\nimport { isString } from \"./is-string\";\n\n/**\n * Determine if the type is string and is not empty (length greater than zero)\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `string` and length greater than zero\n */\nexport const isSetString = (value: unknown): value is NonNullable<string> => {\n try {\n return isSet(value) && isString(value) && value.length > 0;\n } catch {\n return false;\n }\n};\n"],"mappings":"kFA2BA,MAAa,EAAe,GAAiD,CAC3E,GAAI,CACF,OAAO,EAAM,EAAM,EAAI,EAAS,EAAM,EAAI,EAAM,OAAS,OACnD,CACN,MAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-string-C8M6iZP3.cjs`),t=require(`./is-set-BKGJRvlT.cjs`),n=n=>{try{return t.t(n)&&e.t(n)&&n.length>0}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|