@stryke/type-checks 0.4.4 → 0.5.5
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 +263 -0
- package/README.md +18 -10
- package/dist/base-BghPfa26.d.mts +48 -0
- package/dist/base-BghPfa26.d.mts.map +1 -0
- package/dist/base-DsupRZHl.d.cts +48 -0
- package/dist/base-DsupRZHl.d.cts.map +1 -0
- package/dist/get-object-tag-BHnhgixj.cjs +1 -0
- package/dist/get-object-tag-D0q0p9ux.d.mts +11 -0
- package/dist/get-object-tag-D0q0p9ux.d.mts.map +1 -0
- package/dist/get-object-tag-DF2FAXqH.mjs +2 -0
- package/dist/get-object-tag-DF2FAXqH.mjs.map +1 -0
- package/dist/get-object-tag-Tv3TsAc5.d.cts +11 -0
- package/dist/get-object-tag-Tv3TsAc5.d.cts.map +1 -0
- package/dist/get-object-tag.cjs +1 -8
- package/dist/get-object-tag.d.cts +2 -0
- package/dist/get-object-tag.d.mts +2 -0
- package/dist/get-object-tag.mjs +1 -1
- package/dist/index.cjs +1 -467
- package/dist/index.d.cts +44 -0
- package/dist/index.d.mts +44 -0
- package/dist/index.mjs +1 -1
- package/dist/is-array-like-BlG3BXac.mjs +2 -0
- package/dist/is-array-like-BlG3BXac.mjs.map +1 -0
- package/dist/{is-array-like.d.ts → is-array-like-CWfL33X9.d.mts} +5 -1
- package/dist/is-array-like-CWfL33X9.d.mts.map +1 -0
- package/dist/is-array-like-DbVeBoEe.cjs +1 -0
- package/dist/is-array-like-WgfvtfKC.d.cts +11 -0
- package/dist/is-array-like-WgfvtfKC.d.cts.map +1 -0
- package/dist/is-array-like.cjs +1 -11
- package/dist/is-array-like.d.cts +2 -0
- package/dist/is-array-like.d.mts +2 -0
- package/dist/is-array-like.mjs +1 -1
- package/dist/is-async-iterable-Ba5xZQE9.cjs +1 -0
- package/dist/is-async-iterable-C7_r2vwP.d.cts +11 -0
- package/dist/is-async-iterable-C7_r2vwP.d.cts.map +1 -0
- package/dist/is-async-iterable-CI6-qnZ-.mjs +2 -0
- package/dist/is-async-iterable-CI6-qnZ-.mjs.map +1 -0
- package/dist/is-async-iterable-hrJii_4u.d.mts +11 -0
- package/dist/is-async-iterable-hrJii_4u.d.mts.map +1 -0
- package/dist/is-async-iterable.cjs +1 -10
- package/dist/is-async-iterable.d.cts +2 -0
- package/dist/is-async-iterable.d.mts +2 -0
- package/dist/is-async-iterable.mjs +1 -1
- package/dist/is-bigint-B0CqvS9s.cjs +1 -0
- package/dist/{is-bigint.d.ts → is-bigint-BlaQe4zL.d.cts} +5 -1
- package/dist/is-bigint-BlaQe4zL.d.cts.map +1 -0
- package/dist/is-bigint-C87sK5hA.mjs +2 -0
- package/dist/is-bigint-C87sK5hA.mjs.map +1 -0
- package/dist/is-bigint-VHcMqIR3.d.mts +20 -0
- package/dist/is-bigint-VHcMqIR3.d.mts.map +1 -0
- package/dist/is-bigint.cjs +1 -9
- package/dist/is-bigint.d.cts +2 -0
- package/dist/is-bigint.d.mts +2 -0
- package/dist/is-bigint.mjs +1 -1
- package/dist/is-boolean-DAXt0s9b.mjs +2 -0
- package/dist/is-boolean-DAXt0s9b.mjs.map +1 -0
- package/dist/is-boolean-DRzqWnBl.cjs +1 -0
- package/dist/{is-boolean.d.ts → is-boolean-Doo5mVEJ.d.mts} +5 -1
- package/dist/is-boolean-Doo5mVEJ.d.mts.map +1 -0
- package/dist/is-boolean-rsYcElxd.d.cts +11 -0
- package/dist/is-boolean-rsYcElxd.d.cts.map +1 -0
- package/dist/is-boolean.cjs +1 -14
- package/dist/is-boolean.d.cts +2 -0
- package/dist/is-boolean.d.mts +2 -0
- package/dist/is-boolean.mjs +1 -1
- package/dist/is-buffer-B3W8nBrK.d.cts +9 -0
- package/dist/is-buffer-B3W8nBrK.d.cts.map +1 -0
- package/dist/is-buffer-BhNtqu5n.mjs +2 -0
- package/dist/is-buffer-BhNtqu5n.mjs.map +1 -0
- package/dist/is-buffer-CSI0AMZS.d.mts +9 -0
- package/dist/is-buffer-CSI0AMZS.d.mts.map +1 -0
- package/dist/is-buffer-D9p_5l0d.cjs +1 -0
- package/dist/is-buffer.cjs +1 -10
- package/dist/is-buffer.d.cts +2 -0
- package/dist/is-buffer.d.mts +2 -0
- package/dist/is-buffer.mjs +1 -1
- package/dist/is-collection-Ceu4_dCf.d.mts +14 -0
- package/dist/is-collection-Ceu4_dCf.d.mts.map +1 -0
- package/dist/is-collection-DidPvByC.mjs +2 -0
- package/dist/is-collection-DidPvByC.mjs.map +1 -0
- package/dist/is-collection-IKoUfFa7.cjs +1 -0
- package/dist/is-collection-e7yAmi3F.d.cts +14 -0
- package/dist/is-collection-e7yAmi3F.d.cts.map +1 -0
- package/dist/is-collection.cjs +1 -11
- package/dist/is-collection.d.cts +2 -0
- package/dist/is-collection.d.mts +2 -0
- package/dist/is-collection.mjs +1 -1
- package/dist/{is-date.d.ts → is-date-BecRMVku.d.mts} +5 -1
- package/dist/is-date-BecRMVku.d.mts.map +1 -0
- package/dist/is-date-CWjcEKXA.cjs +1 -0
- package/dist/is-date-CcOOgtny.mjs +2 -0
- package/dist/is-date-CcOOgtny.mjs.map +1 -0
- package/dist/is-date-Dmz-M0ET.d.cts +20 -0
- package/dist/is-date-Dmz-M0ET.d.cts.map +1 -0
- package/dist/is-date.cjs +1 -10
- package/dist/is-date.d.cts +2 -0
- package/dist/is-date.d.mts +2 -0
- package/dist/is-date.mjs +1 -1
- package/dist/is-deep-key-CDPjONep.d.cts +52 -0
- package/dist/is-deep-key-CDPjONep.d.cts.map +1 -0
- package/dist/is-deep-key-Ck2Hz7YJ.cjs +1 -0
- package/dist/is-deep-key-DShi6eYB.mjs +2 -0
- package/dist/is-deep-key-DShi6eYB.mjs.map +1 -0
- package/dist/is-deep-key-R3slkUpl.d.mts +52 -0
- package/dist/is-deep-key-R3slkUpl.d.mts.map +1 -0
- package/dist/is-deep-key.cjs +1 -26
- package/dist/is-deep-key.d.cts +2 -0
- package/dist/is-deep-key.d.mts +2 -0
- package/dist/is-deep-key.mjs +1 -1
- package/dist/is-empty-CcxcCbO0.d.cts +12 -0
- package/dist/is-empty-CcxcCbO0.d.cts.map +1 -0
- package/dist/is-empty-DQObAY-0.mjs +2 -0
- package/dist/is-empty-DQObAY-0.mjs.map +1 -0
- package/dist/is-empty-DVetNKe9.cjs +1 -0
- package/dist/is-empty-bCaTRGIB.d.mts +12 -0
- package/dist/is-empty-bCaTRGIB.d.mts.map +1 -0
- package/dist/{is-empty-object.d.ts → is-empty-object-C4Awcmki.d.mts} +6 -2
- package/dist/is-empty-object-C4Awcmki.d.mts.map +1 -0
- package/dist/is-empty-object-DrM4h0oW.cjs +1 -0
- package/dist/is-empty-object-N0ex-Rjl.mjs +2 -0
- package/dist/is-empty-object-N0ex-Rjl.mjs.map +1 -0
- package/dist/is-empty-object-SnajGsQ2.d.cts +18 -0
- package/dist/is-empty-object-SnajGsQ2.d.cts.map +1 -0
- package/dist/is-empty-object.cjs +1 -23
- package/dist/is-empty-object.d.cts +2 -0
- package/dist/is-empty-object.d.mts +2 -0
- package/dist/is-empty-object.mjs +1 -1
- package/dist/is-empty-string-01PpHo0h.mjs +2 -0
- package/dist/is-empty-string-01PpHo0h.mjs.map +1 -0
- package/dist/is-empty-string-8Huv7y1z.cjs +1 -0
- package/dist/is-empty-string-BlLKjNEc.d.mts +11 -0
- package/dist/is-empty-string-BlLKjNEc.d.mts.map +1 -0
- package/dist/is-empty-string-CGf43g5Z.d.cts +11 -0
- package/dist/is-empty-string-CGf43g5Z.d.cts.map +1 -0
- package/dist/is-empty-string.cjs +1 -16
- package/dist/is-empty-string.d.cts +2 -0
- package/dist/is-empty-string.d.mts +2 -0
- package/dist/is-empty-string.mjs +1 -1
- package/dist/is-empty.cjs +1 -35
- package/dist/is-empty.d.cts +2 -0
- package/dist/is-empty.d.mts +2 -0
- package/dist/is-empty.mjs +1 -1
- package/dist/is-equal-BzPzI-pB.cjs +1 -0
- package/dist/is-equal-CYwTrE3V.d.cts +5 -0
- package/dist/is-equal-CYwTrE3V.d.cts.map +1 -0
- package/dist/is-equal-D4RPxWam.d.mts +5 -0
- package/dist/is-equal-D4RPxWam.d.mts.map +1 -0
- package/dist/is-equal-I836HuAx.mjs +2 -0
- package/dist/is-equal-I836HuAx.mjs.map +1 -0
- package/dist/is-equal.cjs +1 -18
- package/dist/is-equal.d.cts +2 -0
- package/dist/is-equal.d.mts +2 -0
- package/dist/is-equal.mjs +1 -1
- package/dist/{is-error.d.ts → is-error-CCOglM_7.d.mts} +5 -1
- package/dist/is-error-CCOglM_7.d.mts.map +1 -0
- package/dist/is-error-D1FKoV2p.cjs +1 -0
- package/dist/is-error-DR_jKXbr.d.cts +21 -0
- package/dist/is-error-DR_jKXbr.d.cts.map +1 -0
- package/dist/is-error-nekb2Eit.mjs +2 -0
- package/dist/is-error-nekb2Eit.mjs.map +1 -0
- package/dist/is-error.cjs +1 -15
- package/dist/is-error.d.cts +2 -0
- package/dist/is-error.d.mts +2 -0
- package/dist/is-error.mjs +1 -1
- package/dist/is-file-result-5vpaq4NL.mjs +2 -0
- package/dist/is-file-result-5vpaq4NL.mjs.map +1 -0
- package/dist/is-file-result-B-ALEhm0.d.mts +56 -0
- package/dist/is-file-result-B-ALEhm0.d.mts.map +1 -0
- package/dist/is-file-result-Bl1xTRmY.cjs +1 -0
- package/dist/is-file-result-DW5cnH95.d.cts +56 -0
- package/dist/is-file-result-DW5cnH95.d.cts.map +1 -0
- package/dist/is-file-result.cjs +1 -10
- package/dist/is-file-result.d.cts +2 -0
- package/dist/is-file-result.d.mts +2 -0
- package/dist/is-file-result.mjs +1 -1
- package/dist/is-float-C6J1LRqg.cjs +1 -0
- package/dist/is-float-CfmYc3k6.d.mts +14 -0
- package/dist/is-float-CfmYc3k6.d.mts.map +1 -0
- package/dist/is-float-DulF06Fh.mjs +2 -0
- package/dist/is-float-DulF06Fh.mjs.map +1 -0
- package/dist/is-float-DvyATqOQ.d.cts +14 -0
- package/dist/is-float-DvyATqOQ.d.cts.map +1 -0
- package/dist/is-float.cjs +1 -9
- package/dist/is-float.d.cts +2 -0
- package/dist/is-float.d.mts +2 -0
- package/dist/is-float.mjs +1 -1
- package/dist/is-function-CR97Wcb4.d.mts +15 -0
- package/dist/is-function-CR97Wcb4.d.mts.map +1 -0
- package/dist/is-function-CZGGR0qT.mjs +2 -0
- package/dist/is-function-CZGGR0qT.mjs.map +1 -0
- package/dist/is-function-Ge8gcRnx.cjs +1 -0
- package/dist/is-function-IbkaFS4R.d.cts +15 -0
- package/dist/is-function-IbkaFS4R.d.cts.map +1 -0
- package/dist/is-function.cjs +1 -23
- package/dist/is-function.d.cts +2 -0
- package/dist/is-function.d.mts +2 -0
- package/dist/is-function.mjs +1 -1
- package/dist/is-integer-BhXT9fEE.mjs +2 -0
- package/dist/is-integer-BhXT9fEE.mjs.map +1 -0
- package/dist/is-integer-DBgHgbTb.cjs +1 -0
- package/dist/{is-integer.d.ts → is-integer-kq1ee5T_.d.mts} +5 -1
- package/dist/is-integer-kq1ee5T_.d.mts.map +1 -0
- package/dist/is-integer-t2K_aeI-.d.cts +11 -0
- package/dist/is-integer-t2K_aeI-.d.cts.map +1 -0
- package/dist/is-integer.cjs +1 -10
- package/dist/is-integer.d.cts +2 -0
- package/dist/is-integer.d.mts +2 -0
- package/dist/is-integer.mjs +1 -1
- package/dist/is-mergeable-object-BKccPMFM.mjs +2 -0
- package/dist/is-mergeable-object-BKccPMFM.mjs.map +1 -0
- package/dist/is-mergeable-object-BdooAUkk.d.cts +5 -0
- package/dist/is-mergeable-object-BdooAUkk.d.cts.map +1 -0
- package/dist/is-mergeable-object-Ch4GsBfV.d.mts +5 -0
- package/dist/is-mergeable-object-Ch4GsBfV.d.mts.map +1 -0
- package/dist/is-mergeable-object-D0KYh_gn.cjs +1 -0
- package/dist/is-mergeable-object.cjs +1 -14
- package/dist/is-mergeable-object.d.cts +2 -0
- package/dist/is-mergeable-object.d.mts +2 -0
- package/dist/is-mergeable-object.mjs +1 -1
- package/dist/is-non-null-object-Ctm4-rn6.cjs +1 -0
- package/dist/is-non-null-object-DESgjZyf.mjs +2 -0
- package/dist/is-non-null-object-DESgjZyf.mjs.map +1 -0
- package/dist/is-non-null-object.cjs +1 -10
- package/dist/{is-non-null-object.d.ts → is-non-null-object.d.cts} +5 -1
- package/dist/is-non-null-object.d.cts.map +1 -0
- package/dist/is-non-null-object.d.mts +11 -0
- package/dist/is-non-null-object.d.mts.map +1 -0
- package/dist/is-non-null-object.mjs +1 -1
- package/dist/{is-not-empty.d.ts → is-not-empty-DU-gI96j.d.cts} +5 -1
- package/dist/is-not-empty-DU-gI96j.d.cts.map +1 -0
- package/dist/is-not-empty-QCNAwO70.cjs +1 -0
- package/dist/is-not-empty-VPPuIxfe.d.mts +11 -0
- package/dist/is-not-empty-VPPuIxfe.d.mts.map +1 -0
- package/dist/is-not-empty-_qzX24LT.mjs +2 -0
- package/dist/is-not-empty-_qzX24LT.mjs.map +1 -0
- package/dist/is-not-empty.cjs +1 -17
- package/dist/is-not-empty.d.cts +2 -0
- package/dist/is-not-empty.d.mts +2 -0
- package/dist/is-not-empty.mjs +1 -1
- package/dist/is-null-CZh6OomR.cjs +1 -0
- package/dist/is-null-DBoMXXAf.mjs +2 -0
- package/dist/is-null-DBoMXXAf.mjs.map +1 -0
- package/dist/is-null-envBEnO5.d.mts +5 -0
- package/dist/is-null-envBEnO5.d.mts.map +1 -0
- package/dist/is-null-mdbQqgkD.d.cts +5 -0
- package/dist/is-null-mdbQqgkD.d.cts.map +1 -0
- package/dist/is-null.cjs +1 -14
- package/dist/is-null.d.cts +2 -0
- package/dist/is-null.d.mts +2 -0
- package/dist/is-null.mjs +1 -1
- package/dist/{is-number.d.ts → is-number-B9zBD5P5.d.mts} +9 -3
- package/dist/is-number-B9zBD5P5.d.mts.map +1 -0
- package/dist/is-number-BN-mcUXr.d.cts +21 -0
- package/dist/is-number-BN-mcUXr.d.cts.map +1 -0
- package/dist/is-number-ChPAVili.mjs +2 -0
- package/dist/is-number-ChPAVili.mjs.map +1 -0
- package/dist/is-number-ijCVauur.cjs +1 -0
- package/dist/is-number.cjs +1 -19
- package/dist/is-number.d.cts +2 -0
- package/dist/is-number.d.mts +2 -0
- package/dist/is-number.mjs +1 -1
- package/dist/is-object-ANQi7JgS.mjs +2 -0
- package/dist/is-object-ANQi7JgS.mjs.map +1 -0
- package/dist/{is-object.d.ts → is-object-CqEZ2nHi.d.mts} +10 -5
- package/dist/is-object-CqEZ2nHi.d.mts.map +1 -0
- package/dist/is-object-Dm1523kn.cjs +1 -0
- package/dist/is-object-index-CaLUkJ03.d.mts +11 -0
- package/dist/is-object-index-CaLUkJ03.d.mts.map +1 -0
- package/dist/is-object-index-ClUQyslC.cjs +1 -0
- package/dist/is-object-index-CwTThA-X.mjs +2 -0
- package/dist/is-object-index-CwTThA-X.mjs.map +1 -0
- package/dist/is-object-index-OiD7O1-t.d.cts +11 -0
- package/dist/is-object-index-OiD7O1-t.d.cts.map +1 -0
- package/dist/is-object-index.cjs +1 -17
- package/dist/is-object-index.d.cts +2 -0
- package/dist/is-object-index.d.mts +2 -0
- package/dist/is-object-index.mjs +1 -1
- package/dist/is-object-vHTx3owB.d.cts +35 -0
- package/dist/is-object-vHTx3owB.d.cts.map +1 -0
- package/dist/is-object.cjs +1 -30
- package/dist/is-object.d.cts +2 -0
- package/dist/is-object.d.mts +2 -0
- package/dist/is-object.mjs +1 -1
- package/dist/{is-plain-object.d.ts → is-plain-object-C_RxAc-k.d.cts} +9 -3
- package/dist/is-plain-object-C_RxAc-k.d.cts.map +1 -0
- package/dist/is-plain-object-Cqr8u4ef.mjs +2 -0
- package/dist/is-plain-object-Cqr8u4ef.mjs.map +1 -0
- package/dist/is-plain-object-D0i2qmvk.d.mts +56 -0
- package/dist/is-plain-object-D0i2qmvk.d.mts.map +1 -0
- package/dist/is-plain-object-DuvbtXws.cjs +1 -0
- package/dist/is-plain-object.cjs +1 -17
- package/dist/is-plain-object.d.cts +2 -0
- package/dist/is-plain-object.d.mts +2 -0
- package/dist/is-plain-object.mjs +1 -1
- package/dist/is-primitive-BsdQZkNT.mjs +2 -0
- package/dist/is-primitive-BsdQZkNT.mjs.map +1 -0
- package/dist/is-primitive-C390YHii.d.cts +5 -0
- package/dist/is-primitive-C390YHii.d.cts.map +1 -0
- package/dist/is-primitive-CofpOCbi.d.mts +5 -0
- package/dist/is-primitive-CofpOCbi.d.mts.map +1 -0
- package/dist/is-primitive-DTb1k22w.cjs +1 -0
- package/dist/is-primitive.cjs +1 -14
- package/dist/is-primitive.d.cts +2 -0
- package/dist/is-primitive.d.mts +2 -0
- package/dist/is-primitive.mjs +1 -1
- package/dist/{is-promise.d.ts → is-promise-5PXY2aAR.d.mts} +6 -2
- package/dist/is-promise-5PXY2aAR.d.mts.map +1 -0
- package/dist/is-promise-BaPgf52D.d.cts +21 -0
- package/dist/is-promise-BaPgf52D.d.cts.map +1 -0
- package/dist/is-promise-D8fY4qSb.mjs +2 -0
- package/dist/is-promise-D8fY4qSb.mjs.map +1 -0
- package/dist/is-promise-DE9AP6eb.cjs +1 -0
- package/dist/is-promise.cjs +1 -12
- package/dist/is-promise.d.cts +2 -0
- package/dist/is-promise.d.mts +2 -0
- package/dist/is-promise.mjs +1 -1
- package/dist/is-react-element-BBgqI-yD.d.cts +5 -0
- package/dist/is-react-element-BBgqI-yD.d.cts.map +1 -0
- package/dist/is-react-element-CyrQE5Qy.d.mts +5 -0
- package/dist/is-react-element-CyrQE5Qy.d.mts.map +1 -0
- package/dist/is-react-element-GwN-78Xk.cjs +1 -0
- package/dist/is-react-element-s285_TUk.mjs +2 -0
- package/dist/is-react-element-s285_TUk.mjs.map +1 -0
- package/dist/is-react-element.cjs +1 -8
- package/dist/is-react-element.d.cts +2 -0
- package/dist/is-react-element.d.mts +2 -0
- package/dist/is-react-element.mjs +1 -1
- package/dist/is-ref-BiTQudvt.d.mts +14 -0
- package/dist/is-ref-BiTQudvt.d.mts.map +1 -0
- package/dist/is-ref-BqQN-H_W.cjs +1 -0
- package/dist/is-ref-C7Ce1mFX.d.cts +14 -0
- package/dist/is-ref-C7Ce1mFX.d.cts.map +1 -0
- package/dist/is-ref-DrnjEWuV.mjs +2 -0
- package/dist/is-ref-DrnjEWuV.mjs.map +1 -0
- package/dist/is-ref.cjs +1 -14
- package/dist/is-ref.d.cts +2 -0
- package/dist/is-ref.d.mts +2 -0
- package/dist/is-ref.mjs +1 -1
- package/dist/{is-regexp.d.ts → is-regexp-BRY1zuVr.d.mts} +5 -1
- package/dist/is-regexp-BRY1zuVr.d.mts.map +1 -0
- package/dist/is-regexp-BWzNkf_C.d.cts +20 -0
- package/dist/is-regexp-BWzNkf_C.d.cts.map +1 -0
- package/dist/is-regexp-Beh3UwFi.mjs +2 -0
- package/dist/is-regexp-Beh3UwFi.mjs.map +1 -0
- package/dist/is-regexp-CLE6yUfd.cjs +1 -0
- package/dist/is-regexp.cjs +1 -10
- package/dist/is-regexp.d.cts +2 -0
- package/dist/is-regexp.d.mts +2 -0
- package/dist/is-regexp.mjs +1 -1
- package/dist/is-select-option-B5qnA3jc.d.cts +49 -0
- package/dist/is-select-option-B5qnA3jc.d.cts.map +1 -0
- package/dist/is-select-option-DlTYFdDD.cjs +1 -0
- package/dist/is-select-option-DokUPHZT.d.mts +49 -0
- package/dist/is-select-option-DokUPHZT.d.mts.map +1 -0
- package/dist/is-select-option-U8pDtgdu.mjs +2 -0
- package/dist/is-select-option-U8pDtgdu.mjs.map +1 -0
- package/dist/is-select-option.cjs +1 -15
- package/dist/is-select-option.d.cts +2 -0
- package/dist/is-select-option.d.mts +2 -0
- package/dist/is-select-option.mjs +1 -1
- package/dist/is-set-BKGJRvlT.cjs +1 -0
- package/dist/{is-set.d.ts → is-set-DHpYu7nt.d.cts} +5 -1
- package/dist/is-set-DHpYu7nt.d.cts.map +1 -0
- package/dist/is-set-Tym9nZwJ.d.mts +11 -0
- package/dist/is-set-Tym9nZwJ.d.mts.map +1 -0
- package/dist/is-set-XlU8yblR.mjs +2 -0
- package/dist/is-set-XlU8yblR.mjs.map +1 -0
- package/dist/is-set-array-BuFd2cLT.d.cts +11 -0
- package/dist/is-set-array-BuFd2cLT.d.cts.map +1 -0
- package/dist/is-set-array-C8erkOGG.cjs +1 -0
- package/dist/is-set-array-D6GXc5K_.mjs +2 -0
- package/dist/is-set-array-D6GXc5K_.mjs.map +1 -0
- package/dist/is-set-array-jWb--6v8.d.mts +11 -0
- package/dist/is-set-array-jWb--6v8.d.mts.map +1 -0
- package/dist/is-set-array.cjs +1 -0
- package/dist/is-set-array.d.cts +2 -0
- package/dist/is-set-array.d.mts +2 -0
- package/dist/is-set-array.mjs +1 -0
- package/dist/{is-set-object.d.ts → is-set-object-BC019q7K.d.mts} +5 -1
- package/dist/is-set-object-BC019q7K.d.mts.map +1 -0
- package/dist/is-set-object-Cz1QFuwH.cjs +1 -0
- package/dist/is-set-object-DExQ3zYh.d.cts +11 -0
- package/dist/is-set-object-DExQ3zYh.d.cts.map +1 -0
- package/dist/is-set-object-m4I3zBXN.mjs +2 -0
- package/dist/is-set-object-m4I3zBXN.mjs.map +1 -0
- package/dist/is-set-object.cjs +1 -15
- package/dist/is-set-object.d.cts +2 -0
- package/dist/is-set-object.d.mts +2 -0
- package/dist/is-set-object.mjs +1 -1
- package/dist/is-set-string-B4g6w3Ao.mjs +2 -0
- package/dist/is-set-string-B4g6w3Ao.mjs.map +1 -0
- package/dist/is-set-string-BR3f8OLj.cjs +1 -0
- package/dist/{is-set-string.d.ts → is-set-string-D3GGXdVc.d.mts} +5 -1
- package/dist/is-set-string-D3GGXdVc.d.mts.map +1 -0
- package/dist/is-set-string-DvPRqQ7I.d.cts +11 -0
- package/dist/is-set-string-DvPRqQ7I.d.cts.map +1 -0
- package/dist/is-set-string.cjs +1 -16
- package/dist/is-set-string.d.cts +2 -0
- package/dist/is-set-string.d.mts +2 -0
- package/dist/is-set-string.mjs +1 -1
- package/dist/is-set.cjs +1 -15
- package/dist/is-set.d.cts +2 -0
- package/dist/is-set.d.mts +2 -0
- package/dist/is-set.mjs +1 -1
- package/dist/is-string-25AuUYxV.mjs +2 -0
- package/dist/is-string-25AuUYxV.mjs.map +1 -0
- package/dist/is-string-BmMYO2ay.d.cts +5 -0
- package/dist/is-string-BmMYO2ay.d.cts.map +1 -0
- package/dist/is-string-C8M6iZP3.cjs +1 -0
- package/dist/is-string-CHChgess.d.mts +5 -0
- package/dist/is-string-CHChgess.d.mts.map +1 -0
- package/dist/is-string.cjs +1 -14
- package/dist/is-string.d.cts +2 -0
- package/dist/is-string.d.mts +2 -0
- package/dist/is-string.mjs +1 -1
- package/dist/is-symbol-B3bYbkXB.d.cts +5 -0
- package/dist/is-symbol-B3bYbkXB.d.cts.map +1 -0
- package/dist/is-symbol-Bv9PzCUy.cjs +1 -0
- package/dist/is-symbol-D_u8UXTL.mjs +2 -0
- package/dist/is-symbol-D_u8UXTL.mjs.map +1 -0
- package/dist/is-symbol-Da3X6_5Z.d.mts +5 -0
- package/dist/is-symbol-Da3X6_5Z.d.mts.map +1 -0
- package/dist/is-symbol.cjs +1 -14
- package/dist/is-symbol.d.cts +2 -0
- package/dist/is-symbol.d.mts +2 -0
- package/dist/is-symbol.mjs +1 -1
- package/dist/is-typed-BqNSbnTJ.d.mts +14 -0
- package/dist/is-typed-BqNSbnTJ.d.mts.map +1 -0
- package/dist/is-typed-C4R6VJn5.mjs +2 -0
- package/dist/is-typed-C4R6VJn5.mjs.map +1 -0
- package/dist/is-typed-CxfGWrLF.d.cts +14 -0
- package/dist/is-typed-CxfGWrLF.d.cts.map +1 -0
- package/dist/is-typed-array--rJ89kK-.cjs +1 -0
- package/dist/is-typed-array-BElfTaKt.mjs +2 -0
- package/dist/is-typed-array-BElfTaKt.mjs.map +1 -0
- package/dist/is-typed-array-BhzKADmY.d.mts +5 -0
- package/dist/is-typed-array-BhzKADmY.d.mts.map +1 -0
- package/dist/is-typed-array-D42U77hG.d.cts +5 -0
- package/dist/is-typed-array-D42U77hG.d.cts.map +1 -0
- package/dist/is-typed-array.cjs +1 -9
- package/dist/is-typed-array.d.cts +2 -0
- package/dist/is-typed-array.d.mts +2 -0
- package/dist/is-typed-array.mjs +1 -1
- package/dist/is-typed-nhM341AY.cjs +1 -0
- package/dist/is-typed.cjs +1 -16
- package/dist/is-typed.d.cts +2 -0
- package/dist/is-typed.d.mts +2 -0
- package/dist/is-typed.mjs +1 -1
- package/dist/is-undefined-8YL_WG1_.d.mts +5 -0
- package/dist/is-undefined-8YL_WG1_.d.mts.map +1 -0
- package/dist/is-undefined-CocoROYF.cjs +1 -0
- package/dist/is-undefined-DbcFVo7P.d.cts +5 -0
- package/dist/is-undefined-DbcFVo7P.d.cts.map +1 -0
- package/dist/is-undefined-zJ4jMmsc.mjs +2 -0
- package/dist/is-undefined-zJ4jMmsc.mjs.map +1 -0
- package/dist/is-undefined.cjs +1 -8
- package/dist/is-undefined.d.cts +2 -0
- package/dist/is-undefined.d.mts +2 -0
- package/dist/is-undefined.mjs +1 -1
- package/dist/{is-url.d.ts → is-url-B232i4b5.d.mts} +5 -1
- package/dist/is-url-B232i4b5.d.mts.map +1 -0
- package/dist/is-url-BExxFY5T.cjs +1 -0
- package/dist/is-url-Bg2vBFiD.mjs +2 -0
- package/dist/is-url-Bg2vBFiD.mjs.map +1 -0
- package/dist/is-url-ClJ_Hmae.d.cts +11 -0
- package/dist/is-url-ClJ_Hmae.d.cts.map +1 -0
- package/dist/is-url.cjs +1 -10
- package/dist/is-url.d.cts +2 -0
- package/dist/is-url.d.mts +2 -0
- package/dist/is-url.mjs +1 -1
- package/dist/number-HSvmYyl0.d.mts +24 -0
- package/dist/number-HSvmYyl0.d.mts.map +1 -0
- package/dist/number-lymv4bwC.d.cts +24 -0
- package/dist/number-lymv4bwC.d.cts.map +1 -0
- package/dist/{property-exists.d.ts → property-exists-B4QTYKG6.d.mts} +6 -2
- package/dist/property-exists-B4QTYKG6.d.mts.map +1 -0
- package/dist/property-exists-BUPlKKW9.d.cts +20 -0
- package/dist/property-exists-BUPlKKW9.d.cts.map +1 -0
- package/dist/property-exists-YUMbdTfN.cjs +1 -0
- package/dist/property-exists-clG9W4n9.mjs +2 -0
- package/dist/property-exists-clG9W4n9.mjs.map +1 -0
- package/dist/property-exists.cjs +1 -17
- package/dist/property-exists.d.cts +2 -0
- package/dist/property-exists.d.mts +2 -0
- package/dist/property-exists.mjs +1 -1
- package/dist/type-detect-D9u_obxe.mjs +2 -0
- package/dist/type-detect-D9u_obxe.mjs.map +1 -0
- package/dist/type-detect-Ddd2473y.cjs +1 -0
- package/dist/type-detect-DkhvTvm2.d.cts +5 -0
- package/dist/type-detect-DkhvTvm2.d.cts.map +1 -0
- package/dist/type-detect-lSIXsSvX.d.mts +5 -0
- package/dist/type-detect-lSIXsSvX.d.mts.map +1 -0
- package/dist/type-detect.cjs +1 -38
- package/dist/type-detect.d.cts +2 -0
- package/dist/type-detect.d.mts +2 -0
- package/dist/type-detect.mjs +1 -1
- package/dist/utilities-BcSwta4F.d.cts +20 -0
- package/dist/utilities-BcSwta4F.d.cts.map +1 -0
- package/dist/utilities-Dj_-Bvo1.d.mts +20 -0
- package/dist/utilities-Dj_-Bvo1.d.mts.map +1 -0
- package/package.json +142 -626
- package/dist/get-object-tag.d.ts +0 -7
- package/dist/index.d.ts +0 -50
- package/dist/is-async-iterable.d.ts +0 -7
- package/dist/is-buffer.d.ts +0 -5
- package/dist/is-collection.d.ts +0 -8
- package/dist/is-deep-key.d.ts +0 -35
- package/dist/is-empty-string.d.ts +0 -7
- package/dist/is-empty.d.ts +0 -8
- package/dist/is-equal.d.ts +0 -1
- package/dist/is-file-result.d.ts +0 -8
- package/dist/is-float.d.ts +0 -8
- package/dist/is-function.d.ts +0 -10
- package/dist/is-mergeable-object.d.ts +0 -1
- package/dist/is-null.d.ts +0 -1
- package/dist/is-object-index.d.ts +0 -7
- package/dist/is-primitive.d.ts +0 -1
- package/dist/is-react-element.d.ts +0 -1
- package/dist/is-ref.d.ts +0 -8
- package/dist/is-select-option.d.ts +0 -8
- package/dist/is-string.d.ts +0 -1
- package/dist/is-symbol.d.ts +0 -1
- package/dist/is-typed-array.d.ts +0 -1
- package/dist/is-typed.d.ts +0 -8
- package/dist/is-undefined.d.ts +0 -1
- package/dist/type-detect.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-promise-BaPgf52D.d.cts","names":[],"sources":["../src/is-promise.ts"],"sourcesContent":[],"mappings":";;AA2BA;AAaA;;;;cAba,wCAAuC;;;;;;;;;;cAavC,4CAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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}});
|
package/dist/is-promise.cjs
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isPromiseLike = exports.isPromise = void 0;
|
|
7
|
-
var _isFunction = require("./is-function.cjs");
|
|
8
|
-
var _isObject = require("./is-object.cjs");
|
|
9
|
-
const isPromise = n => (0, _isObject.isObject)(n) && (0, _isFunction.isFunction)(n?.then),
|
|
10
|
-
isPromiseLike = n => typeof n?.then == "function";
|
|
11
|
-
exports.isPromiseLike = isPromiseLike;
|
|
12
|
-
exports.isPromise = isPromise;
|
|
1
|
+
const e=require(`./is-promise-DE9AP6eb.cjs`);exports.isPromise=e.t,exports.isPromiseLike=e.n;
|
package/dist/is-promise.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{n as e,t}from"./is-promise-D8fY4qSb.mjs";export{t as isPromise,e as isPromiseLike};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-react-element-BBgqI-yD.d.cts","names":[],"sources":["../src/is-react-element.ts"],"sourcesContent":[],"mappings":";cAkBa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-react-element-CyrQE5Qy.d.mts","names":[],"sources":["../src/is-react-element.ts"],"sourcesContent":[],"mappings":";cAkBa"}
|
|
@@ -0,0 +1 @@
|
|
|
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}});
|
|
@@ -0,0 +1 @@
|
|
|
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,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isReactElement = void 0;
|
|
7
|
-
const isReactElement = e => e.$$typeof === (typeof Symbol == "function" && Symbol.for ? Symbol.for("react.element") : 60103);
|
|
8
|
-
exports.isReactElement = isReactElement;
|
|
1
|
+
const e=require(`./is-react-element-GwN-78Xk.cjs`);exports.isReactElement=e.t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{t as e}from"./is-react-element-s285_TUk.mjs";export{e as isReactElement};
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-ref-BiTQudvt.d.mts","names":[],"sources":["../src/is-ref.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;cAAa,oDAED,UAAU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=e=>{try{return e?.current!==void 0}catch{return!1}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-ref-C7Ce1mFX.d.cts","names":[],"sources":["../src/is-ref.ts"],"sourcesContent":[],"mappings":";;;;;;AA0BA;;;;cAAa,oDAED,UAAU"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
package/dist/is-ref.cjs
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isRef = void 0;
|
|
7
|
-
const isRef = e => {
|
|
8
|
-
try {
|
|
9
|
-
return e?.current !== void 0;
|
|
10
|
-
} catch {
|
|
11
|
-
return !1;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
exports.isRef = isRef;
|
|
1
|
+
const e=require(`./is-ref-BqQN-H_W.cjs`);exports.isRef=e.t;
|
package/dist/is-ref.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{t as e}from"./is-ref-DrnjEWuV.mjs";export{e as isRef};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/is-regexp.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Checks if `value` is classified as a `isRegExp` object.
|
|
3
4
|
*
|
|
@@ -13,4 +14,7 @@
|
|
|
13
14
|
* @param value - The value to check.
|
|
14
15
|
* @returns Returns `true` if `obj` is a isRegExp object, else `false`.
|
|
15
16
|
*/
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-regexp-BRY1zuVr.d.mts","names":[],"sources":["../src/is-regexp.ts"],"sourcesContent":[],"mappings":";;AAoCA;;;;;;;;;;;;;;cAAa,uCAAsC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-regexp-BWzNkf_C.d.cts","names":[],"sources":["../src/is-regexp.ts"],"sourcesContent":[],"mappings":";;AAoCA;;;;;;;;;;;;;;cAAa,uCAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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}});
|
package/dist/is-regexp.cjs
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isRegExp = void 0;
|
|
7
|
-
var _getObjectTag = require("./get-object-tag.cjs");
|
|
8
|
-
var _isPlainObject = require("./is-plain-object.cjs");
|
|
9
|
-
const isRegExp = e => (0, _isPlainObject.isObjectLike)(e) && (0, _getObjectTag.getObjectTag)(e) === "[object RegExp]";
|
|
10
|
-
exports.isRegExp = isRegExp;
|
|
1
|
+
const e=require(`./is-regexp-CLE6yUfd.cjs`);exports.isRegExp=e.t;
|
package/dist/is-regexp.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as e}from"./is-regexp-Beh3UwFi.mjs";export{e as isRegExp};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { n as NameValuePair } from "./utilities-BcSwta4F.cjs";
|
|
2
|
+
|
|
3
|
+
//#region ../types/src/form.d.ts
|
|
4
|
+
type SelectOptionValue = string | number | boolean | null;
|
|
5
|
+
/**
|
|
6
|
+
* A utility type for specifying the type of an option for a Select or Radio form field.
|
|
7
|
+
*/
|
|
8
|
+
interface SelectOption<TValue extends SelectOptionValue = SelectOptionValue, TName = string> extends NameValuePair<TValue, TName> {
|
|
9
|
+
/**
|
|
10
|
+
* The index of the select option
|
|
11
|
+
*/
|
|
12
|
+
index: number;
|
|
13
|
+
/**
|
|
14
|
+
* The description of the select option
|
|
15
|
+
*/
|
|
16
|
+
description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* A short string describing the status of the select option
|
|
19
|
+
*/
|
|
20
|
+
status?: string;
|
|
21
|
+
/**
|
|
22
|
+
* An optional icon to display in the select option
|
|
23
|
+
*/
|
|
24
|
+
icon?: any;
|
|
25
|
+
/**
|
|
26
|
+
* An optional image to display in the select option
|
|
27
|
+
*/
|
|
28
|
+
image?: any;
|
|
29
|
+
/**
|
|
30
|
+
* Is the option value valid for selection in the dropdown
|
|
31
|
+
*/
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Sets or retrieves whether the option in the list box is the default item.
|
|
35
|
+
*/
|
|
36
|
+
selected: boolean;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/is-select-option.d.ts
|
|
40
|
+
/**
|
|
41
|
+
* Check if the provided value's type is SelectOption
|
|
42
|
+
*
|
|
43
|
+
* @param value - The value to type check
|
|
44
|
+
* @returns An indicator specifying if the object provided is of type SelectOption
|
|
45
|
+
*/
|
|
46
|
+
declare const isSelectOption: (value: unknown) => value is SelectOption;
|
|
47
|
+
//#endregion
|
|
48
|
+
export { isSelectOption as t };
|
|
49
|
+
//# sourceMappingURL=is-select-option-B5qnA3jc.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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}});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { n as NameValuePair } from "./utilities-Dj_-Bvo1.mjs";
|
|
2
|
+
|
|
3
|
+
//#region ../types/src/form.d.ts
|
|
4
|
+
type SelectOptionValue = string | number | boolean | null;
|
|
5
|
+
/**
|
|
6
|
+
* A utility type for specifying the type of an option for a Select or Radio form field.
|
|
7
|
+
*/
|
|
8
|
+
interface SelectOption<TValue extends SelectOptionValue = SelectOptionValue, TName = string> extends NameValuePair<TValue, TName> {
|
|
9
|
+
/**
|
|
10
|
+
* The index of the select option
|
|
11
|
+
*/
|
|
12
|
+
index: number;
|
|
13
|
+
/**
|
|
14
|
+
* The description of the select option
|
|
15
|
+
*/
|
|
16
|
+
description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* A short string describing the status of the select option
|
|
19
|
+
*/
|
|
20
|
+
status?: string;
|
|
21
|
+
/**
|
|
22
|
+
* An optional icon to display in the select option
|
|
23
|
+
*/
|
|
24
|
+
icon?: any;
|
|
25
|
+
/**
|
|
26
|
+
* An optional image to display in the select option
|
|
27
|
+
*/
|
|
28
|
+
image?: any;
|
|
29
|
+
/**
|
|
30
|
+
* Is the option value valid for selection in the dropdown
|
|
31
|
+
*/
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Sets or retrieves whether the option in the list box is the default item.
|
|
35
|
+
*/
|
|
36
|
+
selected: boolean;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/is-select-option.d.ts
|
|
40
|
+
/**
|
|
41
|
+
* Check if the provided value's type is SelectOption
|
|
42
|
+
*
|
|
43
|
+
* @param value - The value to type check
|
|
44
|
+
* @returns An indicator specifying if the object provided is of type SelectOption
|
|
45
|
+
*/
|
|
46
|
+
declare const isSelectOption: (value: unknown) => value is SelectOption;
|
|
47
|
+
//#endregion
|
|
48
|
+
export { isSelectOption as t };
|
|
49
|
+
//# sourceMappingURL=is-select-option-DokUPHZT.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isSelectOption = void 0;
|
|
7
|
-
var _isEmpty = require("./is-empty.cjs");
|
|
8
|
-
const isSelectOption = t => {
|
|
9
|
-
try {
|
|
10
|
-
return !(0, _isEmpty.isEmpty)(t?.name) && "value" in t;
|
|
11
|
-
} catch {
|
|
12
|
-
return !1;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
exports.isSelectOption = isSelectOption;
|
|
1
|
+
const e=require(`./is-select-option-DlTYFdDD.cjs`);exports.isSelectOption=e.t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as e}from"./is-select-option-U8pDtgdu.mjs";export{e as isSelectOption};
|
|
@@ -0,0 +1 @@
|
|
|
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,7 +1,11 @@
|
|
|
1
|
+
//#region src/is-set.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* The inverse of the `isEmpty` function
|
|
3
4
|
*
|
|
4
5
|
* @param value - The value to type check
|
|
5
6
|
* @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`
|
|
6
7
|
*/
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-set-DHpYu7nt.d.cts","names":[],"sources":["../src/is-set.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa,oCAAmC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-set-Tym9nZwJ.d.mts","names":[],"sources":["../src/is-set.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa,oCAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-set-array-BuFd2cLT.d.cts","names":[],"sources":["../src/is-set-array.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
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}});
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-set-array-jWb--6v8.d.mts","names":[],"sources":["../src/is-set-array.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./is-set-array-C8erkOGG.cjs`);exports.isSetArray=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./is-set-array-D6GXc5K_.mjs";export{e as isSetArray};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
//#region src/is-set-object.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Check if the provided value's type is an object with some fields set
|
|
3
4
|
*
|
|
4
5
|
* @param value - The value to type check
|
|
5
6
|
* @returns An indicator specifying if the value provided is an object with some fields se
|
|
6
7
|
*/
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-set-object-BC019q7K.d.mts","names":[],"sources":["../src/is-set-object.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa,0CAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
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}});
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-set-object-DExQ3zYh.d.cts","names":[],"sources":["../src/is-set-object.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;cAAa,0CAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
package/dist/is-set-object.cjs
CHANGED
|
@@ -1,15 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isSetObject = void 0;
|
|
7
|
-
var _isNonNullObject = require("./is-non-null-object.cjs");
|
|
8
|
-
const isSetObject = t => {
|
|
9
|
-
try {
|
|
10
|
-
return (0, _isNonNullObject.isNonNullObject)(t) && Object.keys(t).length > 0;
|
|
11
|
-
} catch {
|
|
12
|
-
return !1;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
exports.isSetObject = isSetObject;
|
|
1
|
+
const e=require(`./is-set-object-Cz1QFuwH.cjs`);exports.isSetObject=e.t;
|