@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,56 +0,0 @@
|
|
|
1
|
-
//#region ../types/src/messages.d.ts
|
|
2
|
-
type MessageType = "help" | "error" | "warning" | "info" | "success";
|
|
3
|
-
type MessageDetails<TMessageType extends MessageType = MessageType> = {
|
|
4
|
-
code: string;
|
|
5
|
-
message?: string;
|
|
6
|
-
type: TMessageType;
|
|
7
|
-
params?: Record<string, any>;
|
|
8
|
-
} | {
|
|
9
|
-
code?: string;
|
|
10
|
-
message: string;
|
|
11
|
-
type: TMessageType;
|
|
12
|
-
params?: Record<string, any>;
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region ../types/src/validations.d.ts
|
|
16
|
-
type ValidationDetail<TMessageType extends MessageType = MessageType> = MessageDetails<TMessageType> & {
|
|
17
|
-
/**
|
|
18
|
-
* The field path that the message is related to.
|
|
19
|
-
*
|
|
20
|
-
* @remarks
|
|
21
|
-
* If `undefined` or `null`, the message is not related to a specific field - in this case it is likely a global/form message.
|
|
22
|
-
*/
|
|
23
|
-
path?: string | null;
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region ../types/src/file.d.ts
|
|
27
|
-
type FileStatus = "initialized" | "validated" | "uploaded" | "failed";
|
|
28
|
-
/**
|
|
29
|
-
* A type that representing a file object.
|
|
30
|
-
*/
|
|
31
|
-
type FileResult = {
|
|
32
|
-
name: string;
|
|
33
|
-
status: FileStatus;
|
|
34
|
-
issues?: ValidationDetail[];
|
|
35
|
-
size?: number;
|
|
36
|
-
mimeType?: string;
|
|
37
|
-
lastModified?: number;
|
|
38
|
-
} & ({
|
|
39
|
-
uri: string;
|
|
40
|
-
file?: File;
|
|
41
|
-
} | {
|
|
42
|
-
uri?: string;
|
|
43
|
-
file: File;
|
|
44
|
-
});
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/is-file-result.d.ts
|
|
47
|
-
/**
|
|
48
|
-
* Check if the provided value is a `FileResult` object
|
|
49
|
-
*
|
|
50
|
-
* @param value - The value to type check
|
|
51
|
-
* @returns An indicator specifying if the value provided is a `FileResult` object
|
|
52
|
-
*/
|
|
53
|
-
declare const isFileResult: (value: any) => value is FileResult;
|
|
54
|
-
//#endregion
|
|
55
|
-
export { isFileResult as t };
|
|
56
|
-
//# sourceMappingURL=is-file-result-B-ALEhm0.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-file-result-B-ALEhm0.d.mts","names":[],"sources":["../../types/src/messages.ts","../../types/src/validations.ts","../../types/src/file.ts","../src/is-file-result.ts"],"sourcesContent":[],"mappings":";KAkBY,WAAA;AAAA,KAEA,cAFW,CAAA,qBAEyB,WAFzB,GAEuC,WAFvC,CAAA,GAAA;EAEX,IAAA,EAAA,MAAA;EAAoC,OAAA,CAAA,EAAA,MAAA;EAAc,IAAA,EAIlD,YAJkD;EAIlD,MAAA,CAAA,EACG,MADH,CAAA,MAAA,EAAA,GAAA,CAAA;CACG,GAAA;EAKH,IAAA,CAAA,EAAA,MAAA;EACG,OAAA,EAAA,MAAA;EAAM,IAAA,EADT,YACS;WAAN;;;;AAbH,KCEA,gBDFW,CAAA,qBCE2B,WDF3B,GCEyC,WDFzC,CAAA,GCGrB,cDHqB,CCGN,YDHM,CAAA,GAAA;EAEX;;;;;;EAWG,IAAA,CAAA,EAAA,MAAA,GAAA,IAAA;CAAM;;;AAbT,KEEA,UAAA,GFFW,aAAA,GAAA,WAAA,GAAA,UAAA,GAAA,QAAA;AAEvB;;;AAIY,KECA,UAAA,GFDA;EACG,IAAA,EAAA,MAAA;EAKH,MAAA,EEHF,UFGE;EACG,MAAA,CAAA,EEHJ,gBFGI,EAAA;EAAM,IAAA,CAAA,EAAA,MAAA;;;;ECXT,GAAA,EAAA,MAAA;EAAsC,IAAA,CAAA,ECerC,IDfqC;CAAc,GAAA;EAC/C,GAAA,CAAA,EAAA,MAAA;EAAf,IAAA,ECkBU,IDlBV;CAAc,CAAA;;;ADHhB;AAEA;;;;;AAUY,cGFC,YHED,EAAA,CAAA,KAAA,EAAA,GAAA,EAAA,GAAA,KAAA,IGFuC,UHEvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-set-object-Cz1QFuwH.cjs`),t=require(`./is-set-string-BR3f8OLj.cjs`),n=n=>e.t(n)&&`status`in n&&[`initialized`,`validated`,`uploaded`,`failed`].includes(n.status)&&(t.t(n?.uri)||e.t(n?.file));Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
//#region ../types/src/messages.d.ts
|
|
2
|
-
type MessageType = "help" | "error" | "warning" | "info" | "success";
|
|
3
|
-
type MessageDetails<TMessageType extends MessageType = MessageType> = {
|
|
4
|
-
code: string;
|
|
5
|
-
message?: string;
|
|
6
|
-
type: TMessageType;
|
|
7
|
-
params?: Record<string, any>;
|
|
8
|
-
} | {
|
|
9
|
-
code?: string;
|
|
10
|
-
message: string;
|
|
11
|
-
type: TMessageType;
|
|
12
|
-
params?: Record<string, any>;
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region ../types/src/validations.d.ts
|
|
16
|
-
type ValidationDetail<TMessageType extends MessageType = MessageType> = MessageDetails<TMessageType> & {
|
|
17
|
-
/**
|
|
18
|
-
* The field path that the message is related to.
|
|
19
|
-
*
|
|
20
|
-
* @remarks
|
|
21
|
-
* If `undefined` or `null`, the message is not related to a specific field - in this case it is likely a global/form message.
|
|
22
|
-
*/
|
|
23
|
-
path?: string | null;
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region ../types/src/file.d.ts
|
|
27
|
-
type FileStatus = "initialized" | "validated" | "uploaded" | "failed";
|
|
28
|
-
/**
|
|
29
|
-
* A type that representing a file object.
|
|
30
|
-
*/
|
|
31
|
-
type FileResult = {
|
|
32
|
-
name: string;
|
|
33
|
-
status: FileStatus;
|
|
34
|
-
issues?: ValidationDetail[];
|
|
35
|
-
size?: number;
|
|
36
|
-
mimeType?: string;
|
|
37
|
-
lastModified?: number;
|
|
38
|
-
} & ({
|
|
39
|
-
uri: string;
|
|
40
|
-
file?: File;
|
|
41
|
-
} | {
|
|
42
|
-
uri?: string;
|
|
43
|
-
file: File;
|
|
44
|
-
});
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/is-file-result.d.ts
|
|
47
|
-
/**
|
|
48
|
-
* Check if the provided value is a `FileResult` object
|
|
49
|
-
*
|
|
50
|
-
* @param value - The value to type check
|
|
51
|
-
* @returns An indicator specifying if the value provided is a `FileResult` object
|
|
52
|
-
*/
|
|
53
|
-
declare const isFileResult: (value: any) => value is FileResult;
|
|
54
|
-
//#endregion
|
|
55
|
-
export { isFileResult as t };
|
|
56
|
-
//# sourceMappingURL=is-file-result-DW5cnH95.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-file-result-DW5cnH95.d.cts","names":[],"sources":["../../types/src/messages.ts","../../types/src/validations.ts","../../types/src/file.ts","../src/is-file-result.ts"],"sourcesContent":[],"mappings":";KAkBY,WAAA;AAAA,KAEA,cAFW,CAAA,qBAEyB,WAFzB,GAEuC,WAFvC,CAAA,GAAA;EAEX,IAAA,EAAA,MAAA;EAAoC,OAAA,CAAA,EAAA,MAAA;EAAc,IAAA,EAIlD,YAJkD;EAIlD,MAAA,CAAA,EACG,MADH,CAAA,MAAA,EAAA,GAAA,CAAA;CACG,GAAA;EAKH,IAAA,CAAA,EAAA,MAAA;EACG,OAAA,EAAA,MAAA;EAAM,IAAA,EADT,YACS;WAAN;;;;AAbH,KCEA,gBDFW,CAAA,qBCE2B,WDF3B,GCEyC,WDFzC,CAAA,GCGrB,cDHqB,CCGN,YDHM,CAAA,GAAA;EAEX;;;;;;EAWG,IAAA,CAAA,EAAA,MAAA,GAAA,IAAA;CAAM;;;AAbT,KEEA,UAAA,GFFW,aAAA,GAAA,WAAA,GAAA,UAAA,GAAA,QAAA;AAEvB;;;AAIY,KECA,UAAA,GFDA;EACG,IAAA,EAAA,MAAA;EAKH,MAAA,EEHF,UFGE;EACG,MAAA,CAAA,EEHJ,gBFGI,EAAA;EAAM,IAAA,CAAA,EAAA,MAAA;;;;ECXT,GAAA,EAAA,MAAA;EAAsC,IAAA,CAAA,ECerC,IDfqC;CAAc,GAAA;EAC/C,GAAA,CAAA,EAAA,MAAA;EAAf,IAAA,ECkBU,IDlBV;CAAc,CAAA;;;ADHhB;AAEA;;;;;AAUY,cGFC,YHED,EAAA,CAAA,KAAA,EAAA,GAAA,EAAA,GAAA,KAAA,IGFuC,UHEvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-number-ijCVauur.cjs`),t=t=>e.n(t)&&t%1!=0;Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { t as Float } from "./number-HSvmYyl0.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-float.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Check if the provided value's type is a float
|
|
7
|
-
*
|
|
8
|
-
* @param value - The value to type check
|
|
9
|
-
* @returns An indicator specifying if the value provided is of type `number` and is a float
|
|
10
|
-
*/
|
|
11
|
-
declare const isFloat: <T extends number>(value: T) => value is Float<T>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { isFloat as t };
|
|
14
|
-
//# sourceMappingURL=is-float-CfmYc3k6.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-float-CfmYc3k6.d.mts","names":[],"sources":["../src/is-float.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;;;;AAAmE,cAAtD,OAAsD,EAAA,CAAA,UAAA,MAAA,CAAA,CAAA,KAAA,EAAlB,CAAkB,EAAA,GAAA,KAAA,IAAL,KAAK,CAAC,CAAD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-float-DulF06Fh.mjs","names":[],"sources":["../src/is-float.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 { Float } from \"@stryke/types/number\";\nimport { isNumber } from \"./is-number\";\n\n/**\n * Check if the provided value's type is a float\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `number` and is a float\n */\nexport const isFloat = <T extends number>(value: T): value is Float<T> =>\n isNumber(value) && value % 1 !== 0;\n"],"mappings":"6CA2BA,MAAa,EAA6B,GACxC,EAAS,EAAM,EAAI,EAAQ,GAAM"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { t as Float } from "./number-lymv4bwC.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-float.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Check if the provided value's type is a float
|
|
7
|
-
*
|
|
8
|
-
* @param value - The value to type check
|
|
9
|
-
* @returns An indicator specifying if the value provided is of type `number` and is a float
|
|
10
|
-
*/
|
|
11
|
-
declare const isFloat: <T extends number>(value: T) => value is Float<T>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { isFloat as t };
|
|
14
|
-
//# sourceMappingURL=is-float-DvyATqOQ.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-float-DvyATqOQ.d.cts","names":[],"sources":["../src/is-float.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;;;;AAAmE,cAAtD,OAAsD,EAAA,CAAA,UAAA,MAAA,CAAA,CAAA,KAAA,EAAlB,CAAkB,EAAA,GAAA,KAAA,IAAL,KAAK,CAAC,CAAD,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as AnyFunction } from "./base-BghPfa26.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-function.d.ts
|
|
4
|
-
declare function isSyncFunction(value?: any): value is AnyFunction;
|
|
5
|
-
declare function isAsyncFunction(value?: any): value is AnyFunction;
|
|
6
|
-
/**
|
|
7
|
-
* Check if the provided value's type is `Function`
|
|
8
|
-
*
|
|
9
|
-
* @param value - The value to type check
|
|
10
|
-
* @returns An indicator specifying if the value provided is of type `Function`
|
|
11
|
-
*/
|
|
12
|
-
declare const isFunction: (value: unknown) => value is AnyFunction;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { isFunction as n, isSyncFunction as r, isAsyncFunction as t };
|
|
15
|
-
//# sourceMappingURL=is-function-CR97Wcb4.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-function-CR97Wcb4.d.mts","names":[],"sources":["../src/is-function.ts"],"sourcesContent":[],"mappings":";;;iBAqBgB,cAAA,wBAAsC;iBAItC,eAAA,wBAAuC;AAJvD;AAIA;AAUA;;;;cAAa,yCAAwC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./get-object-tag-DF2FAXqH.mjs";function t(t){return e(t)===`[object Function]`}function n(t){return e(t)===`[object AsyncFunction]`}const r=e=>{try{return e instanceof Function||typeof e==`function`||!!(e?.constructor&&e?.call&&e?.apply)||t(e)||n(e)}catch{return!1}};export{r as n,t as r,n as t};
|
|
2
|
-
//# sourceMappingURL=is-function-CZGGR0qT.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-function-CZGGR0qT.mjs","names":[],"sources":["../src/is-function.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 { AnyFunction } from \"@stryke/types/base\";\nimport { getObjectTag } from \"./get-object-tag\";\n\nexport function isSyncFunction(value?: any): value is AnyFunction {\n return getObjectTag(value) === \"[object Function]\";\n}\n\nexport function isAsyncFunction(value?: any): value is AnyFunction {\n return getObjectTag(value) === \"[object AsyncFunction]\";\n}\n\n/**\n * Check if the provided value's type is `Function`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Function`\n */\nexport const isFunction = (value: unknown): value is AnyFunction => {\n try {\n return (\n value instanceof Function ||\n typeof value === \"function\" ||\n Boolean(\n value?.constructor && (value as any)?.call && (value as any)?.apply\n ) ||\n isSyncFunction(value) ||\n isAsyncFunction(value)\n );\n } catch {\n return false;\n }\n};\n"],"mappings":"kDAqBA,SAAgB,EAAe,EAAmC,CAChE,OAAO,EAAa,EAAM,GAAK,oBAGjC,SAAgB,EAAgB,EAAmC,CACjE,OAAO,EAAa,EAAM,GAAK,yBASjC,MAAa,EAAc,GAAyC,CAClE,GAAI,CACF,OACE,aAAiB,UACjB,OAAO,GAAU,YACjB,GACE,GAAO,aAAgB,GAAe,MAAS,GAAe,QAEhE,EAAe,EAAM,EACrB,EAAgB,EAAM,MAElB,CACN,MAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./get-object-tag-BHnhgixj.cjs`);function t(t){return e.t(t)===`[object Function]`}function n(t){return e.t(t)===`[object AsyncFunction]`}const r=e=>{try{return e instanceof Function||typeof e==`function`||!!(e?.constructor&&e?.call&&e?.apply)||t(e)||n(e)}catch{return!1}};Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as AnyFunction } from "./base-DsupRZHl.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-function.d.ts
|
|
4
|
-
declare function isSyncFunction(value?: any): value is AnyFunction;
|
|
5
|
-
declare function isAsyncFunction(value?: any): value is AnyFunction;
|
|
6
|
-
/**
|
|
7
|
-
* Check if the provided value's type is `Function`
|
|
8
|
-
*
|
|
9
|
-
* @param value - The value to type check
|
|
10
|
-
* @returns An indicator specifying if the value provided is of type `Function`
|
|
11
|
-
*/
|
|
12
|
-
declare const isFunction: (value: unknown) => value is AnyFunction;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { isFunction as n, isSyncFunction as r, isAsyncFunction as t };
|
|
15
|
-
//# sourceMappingURL=is-function-IbkaFS4R.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-function-IbkaFS4R.d.cts","names":[],"sources":["../src/is-function.ts"],"sourcesContent":[],"mappings":";;;iBAqBgB,cAAA,wBAAsC;iBAItC,eAAA,wBAAuC;AAJvD;AAIA;AAUA;;;;cAAa,yCAAwC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-integer-BhXT9fEE.mjs","names":[],"sources":["../src/is-integer.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 { isNumber } from \"./is-number\";\nimport { isString } from \"./is-string\";\n\n/**\n * Check if the provided value's type is an integer\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `number` and is an integer\n */\nexport const isInteger = (value: unknown): boolean =>\n !isString(value) && isNumber(value) && value % 1 === 0;\n"],"mappings":"qFA2BA,MAAa,EAAa,GACxB,CAAC,EAAS,EAAM,EAAI,EAAS,EAAM,EAAI,EAAQ,GAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-number-ijCVauur.cjs`),t=require(`./is-string-C8M6iZP3.cjs`),n=n=>!t.t(n)&&e.n(n)&&n%1==0;Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-integer.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if the provided value's type is an integer
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the value provided is of type `number` and is an integer
|
|
7
|
-
*/
|
|
8
|
-
declare const isInteger: (value: unknown) => boolean;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isInteger as t };
|
|
11
|
-
//# sourceMappingURL=is-integer-kq1ee5T_.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-integer-kq1ee5T_.d.mts","names":[],"sources":["../src/is-integer.ts"],"sourcesContent":[],"mappings":";;AA2BA;;;;;cAAa"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-integer.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Check if the provided value's type is an integer
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to type check
|
|
6
|
-
* @returns An indicator specifying if the value provided is of type `number` and is an integer
|
|
7
|
-
*/
|
|
8
|
-
declare const isInteger: (value: unknown) => boolean;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isInteger as t };
|
|
11
|
-
//# sourceMappingURL=is-integer-t2K_aeI-.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-integer-t2K_aeI-.d.cts","names":[],"sources":["../src/is-integer.ts"],"sourcesContent":[],"mappings":";;AA2BA;;;;;cAAa"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./is-non-null-object-DESgjZyf.mjs";import{t}from"./is-react-element-s285_TUk.mjs";const n=e=>{let n=Object.prototype.toString.call(e);return n===`[object RegExp]`||n===`[object Date]`||t(e)},r=t=>e(t)&&!n(t);export{r as t};
|
|
2
|
-
//# sourceMappingURL=is-mergeable-object-BKccPMFM.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-mergeable-object-BKccPMFM.mjs","names":[],"sources":["../src/is-mergeable-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\";\nimport { isReactElement } from \"./is-react-element\";\n\nconst isSpecialType = (value: any) => {\n const stringValue = Object.prototype.toString.call(value);\n\n return (\n stringValue === \"[object RegExp]\" ||\n stringValue === \"[object Date]\" ||\n isReactElement(value)\n );\n};\n\nexport const isMergeableObject = (value: any): boolean => {\n return isNonNullObject(value) && !isSpecialType(value);\n};\n"],"mappings":"qGAqBA,MAAM,EAAiB,GAAe,CACpC,IAAM,EAAc,OAAO,UAAU,SAAS,KAAK,EAAM,CAEzD,OACE,IAAgB,mBAChB,IAAgB,iBAChB,EAAe,EAAM,EAIZ,EAAqB,GACzB,EAAgB,EAAM,EAAI,CAAC,EAAc,EAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-mergeable-object-BdooAUkk.d.cts","names":[],"sources":["../src/is-mergeable-object.ts"],"sourcesContent":[],"mappings":";cA+Ba"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-mergeable-object-Ch4GsBfV.d.mts","names":[],"sources":["../src/is-mergeable-object.ts"],"sourcesContent":[],"mappings":";cA+Ba"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-non-null-object-Ctm4-rn6.cjs`),t=require(`./is-react-element-GwN-78Xk.cjs`),n=e=>{let n=Object.prototype.toString.call(e);return n===`[object RegExp]`||n===`[object Date]`||t.t(e)},r=t=>e.t(t)&&!n(t);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-object-Dm1523kn.cjs`),t=require(`./is-set-BKGJRvlT.cjs`),n=n=>t.t(n)&&e.i(n);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-non-null-object-DESgjZyf.mjs","names":[],"sources":["../src/is-non-null-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 { isObject } from \"./is-object\";\nimport { isSet } from \"./is-set\";\n\n/**\n * Check if the provided value's type is `Object` and is not `null` or `undefined`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Object` and is not `null` or `undefined`\n */\nexport const isNonNullObject = (value: any): value is NonNullable<object> => {\n return isSet(value) && isObject(value);\n};\n"],"mappings":"kFA2BA,MAAa,EAAmB,GACvB,EAAM,EAAM,EAAI,EAAS,EAAM"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-not-empty.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* The inverse of the `isEmptyObject` 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` or `{}`
|
|
7
|
-
*/
|
|
8
|
-
declare const isNotEmpty: (value: unknown) => value is NonNullable<unknown>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isNotEmpty as t };
|
|
11
|
-
//# sourceMappingURL=is-not-empty-DU-gI96j.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-not-empty-DU-gI96j.d.cts","names":[],"sources":["../src/is-not-empty.ts"],"sourcesContent":[],"mappings":";;AA4BA;;;;;cAAa,yCAAwC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-empty-DVetNKe9.cjs`),t=require(`./is-empty-object-DrM4h0oW.cjs`),n=require(`./is-empty-string-8Huv7y1z.cjs`),r=r=>{try{return!e.t(r)&&!n.t(r)&&!t.t(r)}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-not-empty.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* The inverse of the `isEmptyObject` 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` or `{}`
|
|
7
|
-
*/
|
|
8
|
-
declare const isNotEmpty: (value: unknown) => value is NonNullable<unknown>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isNotEmpty as t };
|
|
11
|
-
//# sourceMappingURL=is-not-empty-VPPuIxfe.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-not-empty-VPPuIxfe.d.mts","names":[],"sources":["../src/is-not-empty.ts"],"sourcesContent":[],"mappings":";;AA4BA;;;;;cAAa,yCAAwC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-not-empty-_qzX24LT.mjs","names":[],"sources":["../src/is-not-empty.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 { isEmptyObject } from \"./is-empty-object\";\nimport { isEmptyString } from \"./is-empty-string\";\n\n/**\n * The inverse of the `isEmptyObject` 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` or `{}`\n */\nexport const isNotEmpty = (value: unknown): value is NonNullable<unknown> => {\n try {\n return !isEmpty(value) && !isEmptyString(value) && !isEmptyObject(value);\n } catch {\n return false;\n }\n};\n"],"mappings":"6IA4BA,MAAa,EAAc,GAAkD,CAC3E,GAAI,CACF,MAAO,CAAC,EAAQ,EAAM,EAAI,CAAC,EAAc,EAAM,EAAI,CAAC,EAAc,EAAM,MAClE,CACN,MAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=e=>{try{return e===null}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-null-DBoMXXAf.mjs","names":[],"sources":["../src/is-null.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 isNull = (value: unknown): value is null => {\n try {\n return value === null;\n } catch {\n return false;\n }\n};\n"],"mappings":"AAkBA,MAAa,EAAU,GAAkC,CACvD,GAAI,CACF,OAAO,IAAU,UACX,CACN,MAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-null-envBEnO5.d.mts","names":[],"sources":["../src/is-null.ts"],"sourcesContent":[],"mappings":";cAkBa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-null-mdbQqgkD.d.cts","names":[],"sources":["../src/is-null.ts"],"sourcesContent":[],"mappings":";cAkBa"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { n as AnyNumber } from "./base-BghPfa26.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-number.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Check if the provided value's type is `number`
|
|
7
|
-
*
|
|
8
|
-
* @param value - The value to type check
|
|
9
|
-
* @returns An indicator specifying if the value provided is of type `number`
|
|
10
|
-
*/
|
|
11
|
-
declare const isNumber: (value: unknown) => value is number;
|
|
12
|
-
/**
|
|
13
|
-
* Check if the provided value's type is `AnyNumber`
|
|
14
|
-
*
|
|
15
|
-
* @param value - The value to type check
|
|
16
|
-
* @returns An indicator specifying if the value provided is of type `AnyNumber`
|
|
17
|
-
*/
|
|
18
|
-
declare function isAnyNumber(value?: any): value is AnyNumber;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { isNumber as n, isAnyNumber as t };
|
|
21
|
-
//# sourceMappingURL=is-number-B9zBD5P5.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-number-B9zBD5P5.d.mts","names":[],"sources":["../src/is-number.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;AAkBA;;;cAlBa;;;;;;;iBAkBG,WAAA,wBAAmC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { n as AnyNumber } from "./base-DsupRZHl.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/is-number.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Check if the provided value's type is `number`
|
|
7
|
-
*
|
|
8
|
-
* @param value - The value to type check
|
|
9
|
-
* @returns An indicator specifying if the value provided is of type `number`
|
|
10
|
-
*/
|
|
11
|
-
declare const isNumber: (value: unknown) => value is number;
|
|
12
|
-
/**
|
|
13
|
-
* Check if the provided value's type is `AnyNumber`
|
|
14
|
-
*
|
|
15
|
-
* @param value - The value to type check
|
|
16
|
-
* @returns An indicator specifying if the value provided is of type `AnyNumber`
|
|
17
|
-
*/
|
|
18
|
-
declare function isAnyNumber(value?: any): value is AnyNumber;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { isNumber as n, isAnyNumber as t };
|
|
21
|
-
//# sourceMappingURL=is-number-BN-mcUXr.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-number-BN-mcUXr.d.cts","names":[],"sources":["../src/is-number.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;AAkBA;;;cAlBa;;;;;;;iBAkBG,WAAA,wBAAmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-number-ChPAVili.mjs","names":[],"sources":["../src/is-number.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 { AnyNumber } from \"@stryke/types/base\";\nimport { getObjectTag } from \"./get-object-tag\";\n\n/**\n * Check if the provided value's type is `number`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `number`\n */\nexport const isNumber = (value: unknown): value is number => {\n try {\n return (\n value instanceof Number ||\n typeof value === \"number\" ||\n Number(value) === value\n );\n } catch {\n return false;\n }\n};\n\n/**\n * Check if the provided value's type is `AnyNumber`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `AnyNumber`\n */\nexport function isAnyNumber(value?: any): value is AnyNumber {\n return isNumber(value) || getObjectTag(value) === \"[object Number]\";\n}\n"],"mappings":"kDA2BA,MAAa,EAAY,GAAoC,CAC3D,GAAI,CACF,OACE,aAAiB,QACjB,OAAO,GAAU,UACjB,OAAO,EAAM,GAAK,OAEd,CACN,MAAO,KAUX,SAAgB,EAAY,EAAiC,CAC3D,OAAO,EAAS,EAAM,EAAI,EAAa,EAAM,GAAK"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./get-object-tag-BHnhgixj.cjs`),t=e=>{try{return e instanceof Number||typeof e==`number`||Number(e)===e}catch{return!1}};function n(n){return t(n)||e.t(n)===`[object Number]`}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./is-plain-object-Cqr8u4ef.mjs";const t=/^class\s|^function\s+[A-Z]/,n=/^function\s+[A-Z]/,r=/^class\s/;function i(e){return typeof e==`function`&&r.test(e.toString())}function a(e){return typeof e==`function`&&n.test(e.toString())}function o(e){return typeof e==`function`&&t.test(e.toString())}const s=t=>{try{return typeof t==`object`||!!t&&t?.constructor===Object||e(t)}catch{return!1}};export{s as i,a as n,i as r,o as t};
|
|
2
|
-
//# sourceMappingURL=is-object-ANQi7JgS.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-object-ANQi7JgS.mjs","names":[],"sources":["../src/is-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\n/* eslint-disable ts/no-unsafe-function-type */\n/* eslint-disable ts/no-unsafe-call */\n\nimport type { NativeClass } from \"@stryke/types/base\";\nimport { isPlainObject } from \"./is-plain-object\";\n\n// Prepare\nconst isClassRegex = /^class\\s|^function\\s+[A-Z]/;\nconst isConventionalClassRegex = /^function\\s+[A-Z]/;\nconst isNativeClassRegex = /^class\\s/;\n\n/** Is ES6+ class */\nexport function isNativeClass(value?: any): value is NativeClass {\n // NOTE TO DEVELOPER: If any of this changes, isClass must also be updated\n return (\n typeof value === \"function\" && isNativeClassRegex.test(value.toString())\n );\n}\n\n/**\n * Check if the provided value's type is a conventional class\n *\n * @remarks\n * Is Conventional Class\n * Looks for function with capital first letter MyClass\n * First letter is the 9th character\n * If changed, isClass must also be updated\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is a conventional class\n */\nexport function isConventionalClass(value?: any): value is Function {\n return (\n typeof value === \"function\" &&\n isConventionalClassRegex.test(value.toString())\n );\n}\n\n/**\n * Check if the provided value's type is `Object`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Object`\n */\nexport function isClass(value?: any): value is Function | NativeClass; // only guarantee of truth type, not of validity\nexport function isClass(value?: any): boolean {\n return typeof value === \"function\" && isClassRegex.test(value.toString());\n}\n\n/**\n * Check if the provided value's type is `Object`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Object`\n */\nexport const isObject = (value: unknown): value is object => {\n try {\n return (\n typeof value === \"object\" ||\n (Boolean(value) && value?.constructor === Object) ||\n isPlainObject(value)\n );\n } catch {\n return false;\n }\n};\n"],"mappings":"mDAyBA,MAAM,EAAe,6BACf,EAA2B,oBAC3B,EAAqB,WAG3B,SAAgB,EAAc,EAAmC,CAE/D,OACE,OAAO,GAAU,YAAc,EAAmB,KAAK,EAAM,UAAU,CAAC,CAgB5E,SAAgB,EAAoB,EAAgC,CAClE,OACE,OAAO,GAAU,YACjB,EAAyB,KAAK,EAAM,UAAU,CAAC,CAWnD,SAAgB,EAAQ,EAAsB,CAC5C,OAAO,OAAO,GAAU,YAAc,EAAa,KAAK,EAAM,UAAU,CAAC,CAS3E,MAAa,EAAY,GAAoC,CAC3D,GAAI,CACF,OACE,OAAO,GAAU,UAChB,EAAQ,GAAU,GAAO,cAAgB,QAC1C,EAAc,EAAM,MAEhB,CACN,MAAO"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { i as NativeClass } from "./base-BghPfa26.mjs";
|
|
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-CqEZ2nHi.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-object-CqEZ2nHi.d.mts","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 +0,0 @@
|
|
|
1
|
-
const e=require(`./is-plain-object-DuvbtXws.cjs`),t=/^class\s|^function\s+[A-Z]/,n=/^function\s+[A-Z]/,r=/^class\s/;function i(e){return typeof e==`function`&&r.test(e.toString())}function a(e){return typeof e==`function`&&n.test(e.toString())}function o(e){return typeof e==`function`&&t.test(e.toString())}const s=t=>{try{return typeof t==`object`||!!t&&t?.constructor===Object||e.n(t)}catch{return!1}};Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-object-index.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Checks if the given value is an object index.
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to check.
|
|
6
|
-
* @returns Returns `true` if the value is an object index, otherwise `false`.
|
|
7
|
-
*/
|
|
8
|
-
declare function isObjectIndex(value: PropertyKey): value is string | number | symbol;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isObjectIndex as t };
|
|
11
|
-
//# sourceMappingURL=is-object-index-CaLUkJ03.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-object-index-CaLUkJ03.d.mts","names":[],"sources":["../src/is-object-index.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;iBAAgB,aAAA,QACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=/^(?:0|[1-9]\d*)$/;function t(t){switch(typeof t){case`number`:return Number.isInteger(t)&&t>=0&&t<2**53-1;case`symbol`:return!1;case`string`:return e.test(t)}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-object-index-CwTThA-X.mjs","names":[],"sources":["../src/is-object-index.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\nconst IS_UNSIGNED_INTEGER = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if the given value is an object index.\n *\n * @param value - The value to check.\n * @returns Returns `true` if the value is an object index, otherwise `false`.\n */\nexport function isObjectIndex(\n value: PropertyKey\n): value is string | number | symbol {\n switch (typeof value) {\n case \"number\": {\n return (\n Number.isInteger(value) && value >= 0 && value < Number.MAX_SAFE_INTEGER\n );\n }\n case \"symbol\": {\n return false;\n }\n case \"string\": {\n return IS_UNSIGNED_INTEGER.test(value);\n }\n }\n}\n"],"mappings":"AAkBA,MAAM,EAAsB,mBAQ5B,SAAgB,EACd,EACmC,CACnC,OAAQ,OAAO,EAAf,CACE,IAAK,SACH,OACE,OAAO,UAAU,EAAM,EAAI,GAAS,GAAK,UAG7C,IAAK,SACH,MAAO,GAET,IAAK,SACH,OAAO,EAAoB,KAAK,EAAM"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/is-object-index.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Checks if the given value is an object index.
|
|
4
|
-
*
|
|
5
|
-
* @param value - The value to check.
|
|
6
|
-
* @returns Returns `true` if the value is an object index, otherwise `false`.
|
|
7
|
-
*/
|
|
8
|
-
declare function isObjectIndex(value: PropertyKey): value is string | number | symbol;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { isObjectIndex as t };
|
|
11
|
-
//# sourceMappingURL=is-object-index-OiD7O1-t.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-object-index-OiD7O1-t.d.cts","names":[],"sources":["../src/is-object-index.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;iBAAgB,aAAA,QACP"}
|