@sorrell/utilities 1.2.5 → 1.2.6
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/Distribution/PackageExports.Generated.json +132 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.cts +43 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.cts.map +10 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.mts +43 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.mts.map +10 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.ts +43 -0
- package/Distribution/Types/Array/Array.Internal.Types.d.ts.map +1 -0
- package/Distribution/Types/Array/Array.Internal.d.cts +16 -0
- package/Distribution/Types/Array/Array.Internal.d.cts.map +10 -0
- package/Distribution/Types/Array/Array.Internal.d.mts +16 -0
- package/Distribution/Types/Array/Array.Internal.d.mts.map +10 -0
- package/Distribution/Types/Array/Array.Internal.d.ts +16 -0
- package/Distribution/Types/Array/Array.Internal.d.ts.map +1 -0
- package/Distribution/Types/Array/Array.Types.d.cts +92 -0
- package/Distribution/Types/Array/Array.Types.d.cts.map +10 -0
- package/Distribution/Types/Array/Array.Types.d.mts +92 -0
- package/Distribution/Types/Array/Array.Types.d.mts.map +10 -0
- package/Distribution/Types/Array/Array.Types.d.ts +92 -0
- package/Distribution/Types/Array/Array.Types.d.ts.map +1 -0
- package/Distribution/Types/Array/Array.d.cts +33 -0
- package/Distribution/Types/Array/Array.d.cts.map +10 -0
- package/Distribution/Types/Array/Array.d.mts +33 -0
- package/Distribution/Types/Array/Array.d.mts.map +10 -0
- package/Distribution/Types/Array/Array.d.ts +33 -0
- package/Distribution/Types/Array/Array.d.ts.map +1 -0
- package/Distribution/Types/Array/index.d.cts +9 -0
- package/Distribution/Types/Array/index.d.cts.map +10 -0
- package/Distribution/Types/Array/index.d.mts +9 -0
- package/Distribution/Types/Array/index.d.mts.map +10 -0
- package/Distribution/Types/Array/index.d.ts +9 -0
- package/Distribution/Types/Array/index.d.ts.map +1 -0
- package/Distribution/Types/Async/Async.Types.d.cts +150 -0
- package/Distribution/Types/Async/Async.Types.d.cts.map +10 -0
- package/Distribution/Types/Async/Async.Types.d.mts +150 -0
- package/Distribution/Types/Async/Async.Types.d.mts.map +10 -0
- package/Distribution/Types/Async/Async.Types.d.ts +150 -0
- package/Distribution/Types/Async/Async.Types.d.ts.map +1 -0
- package/Distribution/Types/Async/Async.d.cts +145 -0
- package/Distribution/Types/Async/Async.d.cts.map +10 -0
- package/Distribution/Types/Async/Async.d.mts +145 -0
- package/Distribution/Types/Async/Async.d.mts.map +10 -0
- package/Distribution/Types/Async/Async.d.ts +145 -0
- package/Distribution/Types/Async/Async.d.ts.map +1 -0
- package/Distribution/Types/Async/index.d.cts +9 -0
- package/Distribution/Types/Async/index.d.cts.map +10 -0
- package/Distribution/Types/Async/index.d.mts +9 -0
- package/Distribution/Types/Async/index.d.mts.map +10 -0
- package/Distribution/Types/Async/index.d.ts +9 -0
- package/Distribution/Types/Async/index.d.ts.map +1 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.cts +9 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.cts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.mts +9 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.mts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.ts +9 -0
- package/Distribution/Types/Dependency/Dependency.Internal.d.ts.map +1 -0
- package/Distribution/Types/Dependency/Dependency.d.cts +65 -0
- package/Distribution/Types/Dependency/Dependency.d.cts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.d.mts +65 -0
- package/Distribution/Types/Dependency/Dependency.d.mts.map +10 -0
- package/Distribution/Types/Dependency/Dependency.d.ts +65 -0
- package/Distribution/Types/Dependency/Dependency.d.ts.map +1 -0
- package/Distribution/Types/Dependency/index.d.cts +13 -0
- package/Distribution/Types/Dependency/index.d.cts.map +10 -0
- package/Distribution/Types/Dependency/index.d.mts +13 -0
- package/Distribution/Types/Dependency/index.d.mts.map +10 -0
- package/Distribution/Types/Dependency/index.d.ts +13 -0
- package/Distribution/Types/Dependency/index.d.ts.map +1 -0
- package/Distribution/Types/Effect/Effect.Types.d.cts +16 -0
- package/Distribution/Types/Effect/Effect.Types.d.cts.map +10 -0
- package/Distribution/Types/Effect/Effect.Types.d.mts +16 -0
- package/Distribution/Types/Effect/Effect.Types.d.mts.map +10 -0
- package/Distribution/Types/Effect/Effect.Types.d.ts +16 -0
- package/Distribution/Types/Effect/Effect.Types.d.ts.map +1 -0
- package/Distribution/Types/Effect/Effect.d.cts +8 -0
- package/Distribution/Types/Effect/Effect.d.cts.map +10 -0
- package/Distribution/Types/Effect/Effect.d.mts +8 -0
- package/Distribution/Types/Effect/Effect.d.mts.map +10 -0
- package/Distribution/Types/Effect/Effect.d.ts +8 -0
- package/Distribution/Types/Effect/Effect.d.ts.map +1 -0
- package/Distribution/Types/Effect/Index.Effect.d.cts +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.cts.map +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.mts +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.mts.map +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.ts +10 -0
- package/Distribution/Types/Effect/Index.Effect.d.ts.map +1 -0
- package/Distribution/Types/Effect/index.d.cts +8 -0
- package/Distribution/Types/Effect/index.d.cts.map +10 -0
- package/Distribution/Types/Effect/index.d.mts +8 -0
- package/Distribution/Types/Effect/index.d.mts.map +10 -0
- package/Distribution/Types/Effect/index.d.ts +8 -0
- package/Distribution/Types/Effect/index.d.ts.map +1 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.cts +8 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.cts.map +10 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.mts +8 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.mts.map +10 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.ts +8 -0
- package/Distribution/Types/FileSystem/FileSystem.Types.d.ts.map +1 -0
- package/Distribution/Types/FileSystem/FileSystem.d.cts +55 -0
- package/Distribution/Types/FileSystem/FileSystem.d.cts.map +10 -0
- package/Distribution/Types/FileSystem/FileSystem.d.mts +55 -0
- package/Distribution/Types/FileSystem/FileSystem.d.mts.map +10 -0
- package/Distribution/Types/FileSystem/FileSystem.d.ts +55 -0
- package/Distribution/Types/FileSystem/FileSystem.d.ts.map +1 -0
- package/Distribution/Types/FileSystem/index.d.cts +9 -0
- package/Distribution/Types/FileSystem/index.d.cts.map +10 -0
- package/Distribution/Types/FileSystem/index.d.mts +9 -0
- package/Distribution/Types/FileSystem/index.d.mts.map +10 -0
- package/Distribution/Types/FileSystem/index.d.ts +9 -0
- package/Distribution/Types/FileSystem/index.d.ts.map +1 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.cts +9 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.cts.map +10 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.mts +9 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.mts.map +10 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.ts +9 -0
- package/Distribution/Types/Functional/Functional.Internal.Types.d.ts.map +1 -0
- package/Distribution/Types/Functional/Functional.Internal.d.cts +8 -0
- package/Distribution/Types/Functional/Functional.Internal.d.cts.map +10 -0
- package/Distribution/Types/Functional/Functional.Internal.d.mts +8 -0
- package/Distribution/Types/Functional/Functional.Internal.d.mts.map +10 -0
- package/Distribution/Types/Functional/Functional.Internal.d.ts +8 -0
- package/Distribution/Types/Functional/Functional.Internal.d.ts.map +1 -0
- package/Distribution/Types/Functional/Functional.Types.d.cts +28 -0
- package/Distribution/Types/Functional/Functional.Types.d.cts.map +10 -0
- package/Distribution/Types/Functional/Functional.Types.d.mts +28 -0
- package/Distribution/Types/Functional/Functional.Types.d.mts.map +10 -0
- package/Distribution/Types/Functional/Functional.Types.d.ts +28 -0
- package/Distribution/Types/Functional/Functional.Types.d.ts.map +1 -0
- package/Distribution/Types/Functional/Functional.d.cts +8 -0
- package/Distribution/Types/Functional/Functional.d.cts.map +10 -0
- package/Distribution/Types/Functional/Functional.d.mts +8 -0
- package/Distribution/Types/Functional/Functional.d.mts.map +10 -0
- package/Distribution/Types/Functional/Functional.d.ts +8 -0
- package/Distribution/Types/Functional/Functional.d.ts.map +1 -0
- package/Distribution/Types/Functional/index.d.cts +9 -0
- package/Distribution/Types/Functional/index.d.cts.map +10 -0
- package/Distribution/Types/Functional/index.d.mts +9 -0
- package/Distribution/Types/Functional/index.d.mts.map +10 -0
- package/Distribution/Types/Functional/index.d.ts +9 -0
- package/Distribution/Types/Functional/index.d.ts.map +1 -0
- package/Distribution/Types/Math/Complex.Internal.d.cts +8 -0
- package/Distribution/Types/Math/Complex.Internal.d.cts.map +10 -0
- package/Distribution/Types/Math/Complex.Internal.d.mts +8 -0
- package/Distribution/Types/Math/Complex.Internal.d.mts.map +10 -0
- package/Distribution/Types/Math/Complex.Internal.d.ts +8 -0
- package/Distribution/Types/Math/Complex.Internal.d.ts.map +1 -0
- package/Distribution/Types/Math/Complex.Types.d.cts +69 -0
- package/Distribution/Types/Math/Complex.Types.d.cts.map +10 -0
- package/Distribution/Types/Math/Complex.Types.d.mts +69 -0
- package/Distribution/Types/Math/Complex.Types.d.mts.map +10 -0
- package/Distribution/Types/Math/Complex.Types.d.ts +69 -0
- package/Distribution/Types/Math/Complex.Types.d.ts.map +1 -0
- package/Distribution/Types/Math/Complex.d.cts +63 -0
- package/Distribution/Types/Math/Complex.d.cts.map +10 -0
- package/Distribution/Types/Math/Complex.d.mts +63 -0
- package/Distribution/Types/Math/Complex.d.mts.map +10 -0
- package/Distribution/Types/Math/Complex.d.ts +63 -0
- package/Distribution/Types/Math/Complex.d.ts.map +1 -0
- package/Distribution/Types/Math/Index.Complex.d.cts +9 -0
- package/Distribution/Types/Math/Index.Complex.d.cts.map +10 -0
- package/Distribution/Types/Math/Index.Complex.d.mts +9 -0
- package/Distribution/Types/Math/Index.Complex.d.mts.map +10 -0
- package/Distribution/Types/Math/Index.Complex.d.ts +9 -0
- package/Distribution/Types/Math/Index.Complex.d.ts.map +1 -0
- package/Distribution/Types/Math/Index.Experimental.d.cts +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.cts.map +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.mts +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.mts.map +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.ts +10 -0
- package/Distribution/Types/Math/Index.Experimental.d.ts.map +1 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.cts +47 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.cts.map +10 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.mts +47 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.mts.map +10 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.ts +47 -0
- package/Distribution/Types/Math/Math.Internal.Types.d.ts.map +1 -0
- package/Distribution/Types/Math/Math.Types.d.cts +98 -0
- package/Distribution/Types/Math/Math.Types.d.cts.map +10 -0
- package/Distribution/Types/Math/Math.Types.d.mts +98 -0
- package/Distribution/Types/Math/Math.Types.d.mts.map +10 -0
- package/Distribution/Types/Math/Math.Types.d.ts +98 -0
- package/Distribution/Types/Math/Math.Types.d.ts.map +1 -0
- package/Distribution/Types/Math/Math.d.cts +8 -0
- package/Distribution/Types/Math/Math.d.cts.map +10 -0
- package/Distribution/Types/Math/Math.d.mts +8 -0
- package/Distribution/Types/Math/Math.d.mts.map +10 -0
- package/Distribution/Types/Math/Math.d.ts +8 -0
- package/Distribution/Types/Math/Math.d.ts.map +1 -0
- package/Distribution/Types/Math/Vector.d.cts +102 -0
- package/Distribution/Types/Math/Vector.d.cts.map +10 -0
- package/Distribution/Types/Math/Vector.d.mts +102 -0
- package/Distribution/Types/Math/Vector.d.mts.map +10 -0
- package/Distribution/Types/Math/Vector.d.ts +102 -0
- package/Distribution/Types/Math/Vector.d.ts.map +1 -0
- package/Distribution/Types/Math/index.d.cts +15 -0
- package/Distribution/Types/Math/index.d.cts.map +10 -0
- package/Distribution/Types/Math/index.d.mts +15 -0
- package/Distribution/Types/Math/index.d.mts.map +10 -0
- package/Distribution/Types/Math/index.d.ts +15 -0
- package/Distribution/Types/Math/index.d.ts.map +1 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.cts +9 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.cts.map +10 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.mts +9 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.mts.map +10 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.ts +9 -0
- package/Distribution/Types/Miscellaneous/Utility.Internal.d.ts.map +1 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.cts +104 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.cts.map +10 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.mts +104 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.mts.map +10 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.ts +104 -0
- package/Distribution/Types/Miscellaneous/Utility.Types.d.ts.map +1 -0
- package/Distribution/Types/Miscellaneous/index.d.cts +8 -0
- package/Distribution/Types/Miscellaneous/index.d.cts.map +10 -0
- package/Distribution/Types/Miscellaneous/index.d.mts +8 -0
- package/Distribution/Types/Miscellaneous/index.d.mts.map +10 -0
- package/Distribution/Types/Miscellaneous/index.d.ts +8 -0
- package/Distribution/Types/Miscellaneous/index.d.ts.map +1 -0
- package/Distribution/Types/Npm/Index.Effect.d.cts +9 -0
- package/Distribution/Types/Npm/Index.Effect.d.cts.map +10 -0
- package/Distribution/Types/Npm/Index.Effect.d.mts +9 -0
- package/Distribution/Types/Npm/Index.Effect.d.mts.map +10 -0
- package/Distribution/Types/Npm/Index.Effect.d.ts +9 -0
- package/Distribution/Types/Npm/Index.Effect.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.cts +17 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.mts +17 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.ts +17 -0
- package/Distribution/Types/Npm/Npm.Effect.Internal.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.cts +12 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.mts +12 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.ts +12 -0
- package/Distribution/Types/Npm/Npm.Effect.Types.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.Effect.d.cts +92 -0
- package/Distribution/Types/Npm/Npm.Effect.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.d.mts +92 -0
- package/Distribution/Types/Npm/Npm.Effect.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.Effect.d.ts +92 -0
- package/Distribution/Types/Npm/Npm.Effect.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.Error.d.cts +36 -0
- package/Distribution/Types/Npm/Npm.Error.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.Error.d.mts +36 -0
- package/Distribution/Types/Npm/Npm.Error.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.Error.d.ts +36 -0
- package/Distribution/Types/Npm/Npm.Error.d.ts.map +1 -0
- package/Distribution/Types/Npm/Npm.d.cts +91 -0
- package/Distribution/Types/Npm/Npm.d.cts.map +10 -0
- package/Distribution/Types/Npm/Npm.d.mts +91 -0
- package/Distribution/Types/Npm/Npm.d.mts.map +10 -0
- package/Distribution/Types/Npm/Npm.d.ts +91 -0
- package/Distribution/Types/Npm/Npm.d.ts.map +1 -0
- package/Distribution/Types/Npm/index.d.cts +15 -0
- package/Distribution/Types/Npm/index.d.cts.map +10 -0
- package/Distribution/Types/Npm/index.d.mts +15 -0
- package/Distribution/Types/Npm/index.d.mts.map +10 -0
- package/Distribution/Types/Npm/index.d.ts +15 -0
- package/Distribution/Types/Npm/index.d.ts.map +1 -0
- package/Distribution/Types/Path/Path.d.cts +17 -0
- package/Distribution/Types/Path/Path.d.cts.map +10 -0
- package/Distribution/Types/Path/Path.d.mts +17 -0
- package/Distribution/Types/Path/Path.d.mts.map +10 -0
- package/Distribution/Types/Path/Path.d.ts +17 -0
- package/Distribution/Types/Path/Path.d.ts.map +1 -0
- package/Distribution/Types/Path/index.d.cts +8 -0
- package/Distribution/Types/Path/index.d.cts.map +10 -0
- package/Distribution/Types/Path/index.d.mts +8 -0
- package/Distribution/Types/Path/index.d.mts.map +10 -0
- package/Distribution/Types/Path/index.d.ts +8 -0
- package/Distribution/Types/Path/index.d.ts.map +1 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.cts +32 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.cts.map +10 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.mts +32 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.mts.map +10 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.ts +32 -0
- package/Distribution/Types/Record/Record.Internal.Types.d.ts.map +1 -0
- package/Distribution/Types/Record/Record.Types.d.cts +78 -0
- package/Distribution/Types/Record/Record.Types.d.cts.map +10 -0
- package/Distribution/Types/Record/Record.Types.d.mts +78 -0
- package/Distribution/Types/Record/Record.Types.d.mts.map +10 -0
- package/Distribution/Types/Record/Record.Types.d.ts +78 -0
- package/Distribution/Types/Record/Record.Types.d.ts.map +1 -0
- package/Distribution/Types/Record/Record.d.cts +63 -0
- package/Distribution/Types/Record/Record.d.cts.map +10 -0
- package/Distribution/Types/Record/Record.d.mts +63 -0
- package/Distribution/Types/Record/Record.d.mts.map +10 -0
- package/Distribution/Types/Record/Record.d.ts +63 -0
- package/Distribution/Types/Record/Record.d.ts.map +1 -0
- package/Distribution/Types/Record/index.d.cts +9 -0
- package/Distribution/Types/Record/index.d.cts.map +10 -0
- package/Distribution/Types/Record/index.d.mts +9 -0
- package/Distribution/Types/Record/index.d.mts.map +10 -0
- package/Distribution/Types/Record/index.d.ts +9 -0
- package/Distribution/Types/Record/index.d.ts.map +1 -0
- package/Distribution/Types/String/String.d.cts +28 -0
- package/Distribution/Types/String/String.d.cts.map +10 -0
- package/Distribution/Types/String/String.d.mts +28 -0
- package/Distribution/Types/String/String.d.mts.map +10 -0
- package/Distribution/Types/String/String.d.ts +28 -0
- package/Distribution/Types/String/String.d.ts.map +1 -0
- package/Distribution/Types/String/index.d.cts +8 -0
- package/Distribution/Types/String/index.d.cts.map +10 -0
- package/Distribution/Types/String/index.d.mts +8 -0
- package/Distribution/Types/String/index.d.mts.map +10 -0
- package/Distribution/Types/String/index.d.ts +8 -0
- package/Distribution/Types/String/index.d.ts.map +1 -0
- package/Distribution/Types/index.d.cts +24 -0
- package/Distribution/Types/index.d.cts.map +10 -0
- package/Distribution/Types/index.d.mts +24 -0
- package/Distribution/Types/index.d.mts.map +10 -0
- package/Distribution/Types/index.d.ts +24 -0
- package/Distribution/Types/index.d.ts.map +1 -0
- package/Distribution/array.cjs +51 -0
- package/Distribution/array.cjs.map +7 -0
- package/Distribution/array.js +28 -0
- package/Distribution/array.js.map +7 -0
- package/Distribution/async.cjs +174 -0
- package/Distribution/async.cjs.map +7 -0
- package/Distribution/async.js +151 -0
- package/Distribution/async.js.map +7 -0
- package/Distribution/complex.cjs +97 -0
- package/Distribution/complex.cjs.map +7 -0
- package/Distribution/complex.js +74 -0
- package/Distribution/complex.js.map +7 -0
- package/Distribution/effect.cjs +63 -0
- package/Distribution/effect.cjs.map +7 -0
- package/Distribution/effect.js +58 -0
- package/Distribution/effect.js.map +7 -0
- package/Distribution/fs.cjs +128 -0
- package/Distribution/fs.cjs.map +7 -0
- package/Distribution/fs.js +95 -0
- package/Distribution/fs.js.map +7 -0
- package/Distribution/functional.cjs +49 -0
- package/Distribution/functional.cjs.map +7 -0
- package/Distribution/functional.js +26 -0
- package/Distribution/functional.js.map +7 -0
- package/Distribution/index.cjs +701 -0
- package/Distribution/index.cjs.map +7 -0
- package/Distribution/index.js +674 -0
- package/Distribution/index.js.map +7 -0
- package/Distribution/math.cjs +243 -0
- package/Distribution/math.cjs.map +7 -0
- package/Distribution/math.js +226 -0
- package/Distribution/math.js.map +7 -0
- package/Distribution/misc.cjs +45 -0
- package/Distribution/misc.cjs.map +7 -0
- package/Distribution/misc.js +22 -0
- package/Distribution/misc.js.map +7 -0
- package/Distribution/npm-effect.cjs +130 -0
- package/Distribution/npm-effect.cjs.map +7 -0
- package/Distribution/npm-effect.js +97 -0
- package/Distribution/npm-effect.js.map +7 -0
- package/Distribution/npm.cjs +106 -0
- package/Distribution/npm.cjs.map +7 -0
- package/Distribution/npm.js +73 -0
- package/Distribution/npm.js.map +7 -0
- package/Distribution/path.cjs +63 -0
- package/Distribution/path.cjs.map +7 -0
- package/Distribution/path.js +40 -0
- package/Distribution/path.js.map +7 -0
- package/Distribution/record.cjs +116 -0
- package/Distribution/record.cjs.map +7 -0
- package/Distribution/record.js +93 -0
- package/Distribution/record.js.map +7 -0
- package/package.json +11 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Record.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import type { TFlatMapRecordTransformer, TFromPath, TMapRecordTransformer, TPath, TRef } from "./Record.Types.cjs";
|
|
8
|
+
/**
|
|
9
|
+
* Set a value within a given {@link InRecord | Record} at a given {@link Path} to be a given
|
|
10
|
+
* {@link Value}.
|
|
11
|
+
*
|
|
12
|
+
* @param InRecord - The {@link Record} that holds the value with path {@link Path} to be retrieved
|
|
13
|
+
* by this function.
|
|
14
|
+
* @param Path - The {@link PathType} that describes the property to be retrieved by this.
|
|
15
|
+
* @param Value - The value to be set at the given {@link Path} of the given {@link InRecord | Record}.
|
|
16
|
+
*
|
|
17
|
+
* @throws {Error} An {@link Error} iff the given {@link Path} is an {@link Array}, rather than a
|
|
18
|
+
* `.`-delimited `string`.
|
|
19
|
+
*/
|
|
20
|
+
export declare function SetPropertyFromPath<RecordType extends Record<string | number, unknown>, PathType extends TPath<RecordType>>(InRecord: RecordType, Path: PathType, Value: TFromPath<RecordType, PathType>): void;
|
|
21
|
+
/**
|
|
22
|
+
* Get a value within a given {@link InRecord | Record} at a given {@link Path}.
|
|
23
|
+
*
|
|
24
|
+
* @param InRecord - The {@link Record} that holds the value with path {@link Path} to be retrieved
|
|
25
|
+
* by this function.
|
|
26
|
+
* @param Path - The {@link PathType} that describes the property to be retrieved by this.
|
|
27
|
+
*
|
|
28
|
+
* @throws {Error} An {@link Error} iff the given {@link Path} is an {@link Array}, rather than a
|
|
29
|
+
* `.`-delimited `string`.
|
|
30
|
+
*
|
|
31
|
+
* @returns {TFromPath<RecordType, PathType>} The value in the {@link InRecord} at the given {@link Path}.
|
|
32
|
+
*/
|
|
33
|
+
export declare function GetPropertyFromPath<RecordType extends Record<string, unknown>, PathType extends TPath<RecordType>>(InRecord: RecordType, Path: PathType): TFromPath<RecordType, PathType>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates a {@link TRef} of a given {@link Type}. Useful for passing
|
|
36
|
+
* primitives to functions by-reference.
|
|
37
|
+
*
|
|
38
|
+
* @template Type - The type of the value wrapped by the returned {@link TRef}.
|
|
39
|
+
*
|
|
40
|
+
* @returns {TRef<Type>} A {@link TRef} of the given {@link Type}.
|
|
41
|
+
*/
|
|
42
|
+
export declare function MakeRef<Type>(): TRef<Type>;
|
|
43
|
+
/**
|
|
44
|
+
* Maps a {@link Record} to an {@link Array}.
|
|
45
|
+
*
|
|
46
|
+
* @param InRecord - The {@link Record} over which this function maps.
|
|
47
|
+
* @param InFunction - The {@link TFlatMapRecordTransformer | transformer} that maps
|
|
48
|
+
* the record to an {@link Array}.
|
|
49
|
+
*
|
|
50
|
+
* @returns {Array<ElementType>} An {@link Array} of elements, mapped from the given {@link InRecord}.
|
|
51
|
+
*/
|
|
52
|
+
export declare function MapRecord<KeyType extends PropertyKey, PropertyType, ElementType>(InRecord: Record<KeyType, PropertyType>, InFunction: TMapRecordTransformer<KeyType, PropertyType, ElementType>): Array<ElementType>;
|
|
53
|
+
/**
|
|
54
|
+
* Maps a {@link Record} to an {@link Array}.
|
|
55
|
+
*
|
|
56
|
+
* @param InRecord - The {@link Record} over which this function maps.
|
|
57
|
+
* @param InFunction - The {@link TFlatMapRecordTransformer | transformer} that maps
|
|
58
|
+
* the record to an {@link Array}.
|
|
59
|
+
*
|
|
60
|
+
* @returns {Array<ElementType>} An {@link Array} of elements, mapped from the given {@link InRecord}.
|
|
61
|
+
*/
|
|
62
|
+
export declare function FlatMapRecord<KeyType extends PropertyKey, PropertyType, ElementType>(InRecord: Record<KeyType, PropertyType>, InFunction: TFlatMapRecordTransformer<KeyType, PropertyType, ElementType>): Array<ElementType>;
|
|
63
|
+
//# sourceMappingURL=Record.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Record.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Record/Record.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACR,yBAAyB,EACzB,SAAS,EACT,qBAAqB,EACrB,KAAK,EACL,IAAI,EACP,MAAM,mBAAmB,CAAC;AAK3B;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAC/B,UAAU,SAAS,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EACnD,QAAQ,SAAS,KAAK,CAAC,UAAU,CAAC,EAElC,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,GACvC,IAAI,CAkDN;AAOD;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAC/B,UAAU,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC1C,QAAQ,SAAS,KAAK,CAAC,UAAU,CAAC,EAElC,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,QAAQ,GACf,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,CAiCjC;AAID;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,CAK1C;AAKD;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CACrB,OAAO,SAAS,WAAW,EAC3B,YAAY,EACZ,WAAW,EAEX,QAAQ,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,EACvC,UAAU,EAAE,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,GACtE,KAAK,CAAC,WAAW,CAAC,CAOpB;AAOD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CACzB,OAAO,SAAS,WAAW,EAC3B,YAAY,EACZ,WAAW,EAEX,QAAQ,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,EACvC,UAAU,EAAE,yBAAyB,CAAC,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,GAC1E,KAAK,CAAC,WAAW,CAAC,CAUpB"
|
|
10
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Record.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import type { TFlatMapRecordTransformer, TFromPath, TMapRecordTransformer, TPath, TRef } from "./Record.Types.mjs";
|
|
8
|
+
/**
|
|
9
|
+
* Set a value within a given {@link InRecord | Record} at a given {@link Path} to be a given
|
|
10
|
+
* {@link Value}.
|
|
11
|
+
*
|
|
12
|
+
* @param InRecord - The {@link Record} that holds the value with path {@link Path} to be retrieved
|
|
13
|
+
* by this function.
|
|
14
|
+
* @param Path - The {@link PathType} that describes the property to be retrieved by this.
|
|
15
|
+
* @param Value - The value to be set at the given {@link Path} of the given {@link InRecord | Record}.
|
|
16
|
+
*
|
|
17
|
+
* @throws {Error} An {@link Error} iff the given {@link Path} is an {@link Array}, rather than a
|
|
18
|
+
* `.`-delimited `string`.
|
|
19
|
+
*/
|
|
20
|
+
export declare function SetPropertyFromPath<RecordType extends Record<string | number, unknown>, PathType extends TPath<RecordType>>(InRecord: RecordType, Path: PathType, Value: TFromPath<RecordType, PathType>): void;
|
|
21
|
+
/**
|
|
22
|
+
* Get a value within a given {@link InRecord | Record} at a given {@link Path}.
|
|
23
|
+
*
|
|
24
|
+
* @param InRecord - The {@link Record} that holds the value with path {@link Path} to be retrieved
|
|
25
|
+
* by this function.
|
|
26
|
+
* @param Path - The {@link PathType} that describes the property to be retrieved by this.
|
|
27
|
+
*
|
|
28
|
+
* @throws {Error} An {@link Error} iff the given {@link Path} is an {@link Array}, rather than a
|
|
29
|
+
* `.`-delimited `string`.
|
|
30
|
+
*
|
|
31
|
+
* @returns {TFromPath<RecordType, PathType>} The value in the {@link InRecord} at the given {@link Path}.
|
|
32
|
+
*/
|
|
33
|
+
export declare function GetPropertyFromPath<RecordType extends Record<string, unknown>, PathType extends TPath<RecordType>>(InRecord: RecordType, Path: PathType): TFromPath<RecordType, PathType>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates a {@link TRef} of a given {@link Type}. Useful for passing
|
|
36
|
+
* primitives to functions by-reference.
|
|
37
|
+
*
|
|
38
|
+
* @template Type - The type of the value wrapped by the returned {@link TRef}.
|
|
39
|
+
*
|
|
40
|
+
* @returns {TRef<Type>} A {@link TRef} of the given {@link Type}.
|
|
41
|
+
*/
|
|
42
|
+
export declare function MakeRef<Type>(): TRef<Type>;
|
|
43
|
+
/**
|
|
44
|
+
* Maps a {@link Record} to an {@link Array}.
|
|
45
|
+
*
|
|
46
|
+
* @param InRecord - The {@link Record} over which this function maps.
|
|
47
|
+
* @param InFunction - The {@link TFlatMapRecordTransformer | transformer} that maps
|
|
48
|
+
* the record to an {@link Array}.
|
|
49
|
+
*
|
|
50
|
+
* @returns {Array<ElementType>} An {@link Array} of elements, mapped from the given {@link InRecord}.
|
|
51
|
+
*/
|
|
52
|
+
export declare function MapRecord<KeyType extends PropertyKey, PropertyType, ElementType>(InRecord: Record<KeyType, PropertyType>, InFunction: TMapRecordTransformer<KeyType, PropertyType, ElementType>): Array<ElementType>;
|
|
53
|
+
/**
|
|
54
|
+
* Maps a {@link Record} to an {@link Array}.
|
|
55
|
+
*
|
|
56
|
+
* @param InRecord - The {@link Record} over which this function maps.
|
|
57
|
+
* @param InFunction - The {@link TFlatMapRecordTransformer | transformer} that maps
|
|
58
|
+
* the record to an {@link Array}.
|
|
59
|
+
*
|
|
60
|
+
* @returns {Array<ElementType>} An {@link Array} of elements, mapped from the given {@link InRecord}.
|
|
61
|
+
*/
|
|
62
|
+
export declare function FlatMapRecord<KeyType extends PropertyKey, PropertyType, ElementType>(InRecord: Record<KeyType, PropertyType>, InFunction: TFlatMapRecordTransformer<KeyType, PropertyType, ElementType>): Array<ElementType>;
|
|
63
|
+
//# sourceMappingURL=Record.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "Record.d.mts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/Record/Record.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACR,yBAAyB,EACzB,SAAS,EACT,qBAAqB,EACrB,KAAK,EACL,IAAI,EACP,MAAM,mBAAmB,CAAC;AAK3B;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAC/B,UAAU,SAAS,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EACnD,QAAQ,SAAS,KAAK,CAAC,UAAU,CAAC,EAElC,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,GACvC,IAAI,CAkDN;AAOD;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAC/B,UAAU,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC1C,QAAQ,SAAS,KAAK,CAAC,UAAU,CAAC,EAElC,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,QAAQ,GACf,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,CAiCjC;AAID;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,CAK1C;AAKD;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CACrB,OAAO,SAAS,WAAW,EAC3B,YAAY,EACZ,WAAW,EAEX,QAAQ,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,EACvC,UAAU,EAAE,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,GACtE,KAAK,CAAC,WAAW,CAAC,CAOpB;AAOD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CACzB,OAAO,SAAS,WAAW,EAC3B,YAAY,EACZ,WAAW,EAEX,QAAQ,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,EACvC,UAAU,EAAE,yBAAyB,CAAC,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,GAC1E,KAAK,CAAC,WAAW,CAAC,CAUpB"
|
|
10
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Record.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
import type { TFlatMapRecordTransformer, TFromPath, TMapRecordTransformer, TPath, TRef } from "./Record.Types.ts";
|
|
8
|
+
/**
|
|
9
|
+
* Set a value within a given {@link InRecord | Record} at a given {@link Path} to be a given
|
|
10
|
+
* {@link Value}.
|
|
11
|
+
*
|
|
12
|
+
* @param InRecord - The {@link Record} that holds the value with path {@link Path} to be retrieved
|
|
13
|
+
* by this function.
|
|
14
|
+
* @param Path - The {@link PathType} that describes the property to be retrieved by this.
|
|
15
|
+
* @param Value - The value to be set at the given {@link Path} of the given {@link InRecord | Record}.
|
|
16
|
+
*
|
|
17
|
+
* @throws {Error} An {@link Error} iff the given {@link Path} is an {@link Array}, rather than a
|
|
18
|
+
* `.`-delimited `string`.
|
|
19
|
+
*/
|
|
20
|
+
export declare function SetPropertyFromPath<RecordType extends Record<string | number, unknown>, PathType extends TPath<RecordType>>(InRecord: RecordType, Path: PathType, Value: TFromPath<RecordType, PathType>): void;
|
|
21
|
+
/**
|
|
22
|
+
* Get a value within a given {@link InRecord | Record} at a given {@link Path}.
|
|
23
|
+
*
|
|
24
|
+
* @param InRecord - The {@link Record} that holds the value with path {@link Path} to be retrieved
|
|
25
|
+
* by this function.
|
|
26
|
+
* @param Path - The {@link PathType} that describes the property to be retrieved by this.
|
|
27
|
+
*
|
|
28
|
+
* @throws {Error} An {@link Error} iff the given {@link Path} is an {@link Array}, rather than a
|
|
29
|
+
* `.`-delimited `string`.
|
|
30
|
+
*
|
|
31
|
+
* @returns {TFromPath<RecordType, PathType>} The value in the {@link InRecord} at the given {@link Path}.
|
|
32
|
+
*/
|
|
33
|
+
export declare function GetPropertyFromPath<RecordType extends Record<string, unknown>, PathType extends TPath<RecordType>>(InRecord: RecordType, Path: PathType): TFromPath<RecordType, PathType>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates a {@link TRef} of a given {@link Type}. Useful for passing
|
|
36
|
+
* primitives to functions by-reference.
|
|
37
|
+
*
|
|
38
|
+
* @template Type - The type of the value wrapped by the returned {@link TRef}.
|
|
39
|
+
*
|
|
40
|
+
* @returns {TRef<Type>} A {@link TRef} of the given {@link Type}.
|
|
41
|
+
*/
|
|
42
|
+
export declare function MakeRef<Type>(): TRef<Type>;
|
|
43
|
+
/**
|
|
44
|
+
* Maps a {@link Record} to an {@link Array}.
|
|
45
|
+
*
|
|
46
|
+
* @param InRecord - The {@link Record} over which this function maps.
|
|
47
|
+
* @param InFunction - The {@link TFlatMapRecordTransformer | transformer} that maps
|
|
48
|
+
* the record to an {@link Array}.
|
|
49
|
+
*
|
|
50
|
+
* @returns {Array<ElementType>} An {@link Array} of elements, mapped from the given {@link InRecord}.
|
|
51
|
+
*/
|
|
52
|
+
export declare function MapRecord<KeyType extends PropertyKey, PropertyType, ElementType>(InRecord: Record<KeyType, PropertyType>, InFunction: TMapRecordTransformer<KeyType, PropertyType, ElementType>): Array<ElementType>;
|
|
53
|
+
/**
|
|
54
|
+
* Maps a {@link Record} to an {@link Array}.
|
|
55
|
+
*
|
|
56
|
+
* @param InRecord - The {@link Record} over which this function maps.
|
|
57
|
+
* @param InFunction - The {@link TFlatMapRecordTransformer | transformer} that maps
|
|
58
|
+
* the record to an {@link Array}.
|
|
59
|
+
*
|
|
60
|
+
* @returns {Array<ElementType>} An {@link Array} of elements, mapped from the given {@link InRecord}.
|
|
61
|
+
*/
|
|
62
|
+
export declare function FlatMapRecord<KeyType extends PropertyKey, PropertyType, ElementType>(InRecord: Record<KeyType, PropertyType>, InFunction: TFlatMapRecordTransformer<KeyType, PropertyType, ElementType>): Array<ElementType>;
|
|
63
|
+
//# sourceMappingURL=Record.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Record.d.ts","sourceRoot":"","sources":["../../../Source/Record/Record.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACR,yBAAyB,EACzB,SAAS,EACT,qBAAqB,EACrB,KAAK,EACL,IAAI,EACP,MAAM,mBAAmB,CAAC;AAK3B;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAC/B,UAAU,SAAS,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EACnD,QAAQ,SAAS,KAAK,CAAC,UAAU,CAAC,EAElC,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,GACvC,IAAI,CAkDN;AAOD;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAC/B,UAAU,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC1C,QAAQ,SAAS,KAAK,CAAC,UAAU,CAAC,EAElC,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,QAAQ,GACf,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,CAiCjC;AAID;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,CAK1C;AAKD;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CACrB,OAAO,SAAS,WAAW,EAC3B,YAAY,EACZ,WAAW,EAEX,QAAQ,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,EACvC,UAAU,EAAE,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,GACtE,KAAK,CAAC,WAAW,CAAC,CAOpB;AAOD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CACzB,OAAO,SAAS,WAAW,EAC3B,YAAY,EACZ,WAAW,EAEX,QAAQ,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,EACvC,UAAU,EAAE,yBAAyB,CAAC,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,GAC1E,KAAK,CAAC,WAAW,CAAC,CAUpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Source/Record/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file String.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @module String
|
|
9
|
+
* Functions for manipulating strings.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @param In - The string that you wish to test.
|
|
13
|
+
* @returns Whether the given string contains *only* (Latin alphabet) letters.
|
|
14
|
+
*/
|
|
15
|
+
export declare function IsLetters(In: string): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks *(This is an alias for `IsOnlyLetters`).*
|
|
18
|
+
*
|
|
19
|
+
* @param In - The string that you wish to test.
|
|
20
|
+
* @returns Whether the given string contains *only* (Latin alphabet) letters.
|
|
21
|
+
*/
|
|
22
|
+
export declare function IsAlpha(In: string): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @param In - The string that you wish to test.
|
|
25
|
+
* @returns Whether the given string contains *only* numeric digits.
|
|
26
|
+
*/
|
|
27
|
+
export declare function IsNumeric(In: string): boolean;
|
|
28
|
+
//# sourceMappingURL=String.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "String.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/String/String.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG3C;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C"
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file String.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @module String
|
|
9
|
+
* Functions for manipulating strings.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @param In - The string that you wish to test.
|
|
13
|
+
* @returns Whether the given string contains *only* (Latin alphabet) letters.
|
|
14
|
+
*/
|
|
15
|
+
export declare function IsLetters(In: string): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks *(This is an alias for `IsOnlyLetters`).*
|
|
18
|
+
*
|
|
19
|
+
* @param In - The string that you wish to test.
|
|
20
|
+
* @returns Whether the given string contains *only* (Latin alphabet) letters.
|
|
21
|
+
*/
|
|
22
|
+
export declare function IsAlpha(In: string): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @param In - The string that you wish to test.
|
|
25
|
+
* @returns Whether the given string contains *only* numeric digits.
|
|
26
|
+
*/
|
|
27
|
+
export declare function IsNumeric(In: string): boolean;
|
|
28
|
+
//# sourceMappingURL=String.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "String.d.mts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../../Source/String/String.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG3C;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C"
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file String.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @module String
|
|
9
|
+
* Functions for manipulating strings.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @param In - The string that you wish to test.
|
|
13
|
+
* @returns Whether the given string contains *only* (Latin alphabet) letters.
|
|
14
|
+
*/
|
|
15
|
+
export declare function IsLetters(In: string): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks *(This is an alias for `IsOnlyLetters`).*
|
|
18
|
+
*
|
|
19
|
+
* @param In - The string that you wish to test.
|
|
20
|
+
* @returns Whether the given string contains *only* (Latin alphabet) letters.
|
|
21
|
+
*/
|
|
22
|
+
export declare function IsAlpha(In: string): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @param In - The string that you wish to test.
|
|
25
|
+
* @returns Whether the given string contains *only* numeric digits.
|
|
26
|
+
*/
|
|
27
|
+
export declare function IsNumeric(In: string): boolean;
|
|
28
|
+
//# sourceMappingURL=String.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"String.d.ts","sourceRoot":"","sources":["../../../Source/String/String.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG3C;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Source/String/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file index.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @module
|
|
9
|
+
* General-purpose utility types and functions.
|
|
10
|
+
* This module barrel-exports each scoped export of this package.
|
|
11
|
+
* Use the scoped exports of this package to access only specific
|
|
12
|
+
* utilities (*e.g.*, `async`, `npm`, *etc.*).
|
|
13
|
+
*/
|
|
14
|
+
export * as Array from "./Array/index.cjs";
|
|
15
|
+
export * as Async from "./Async/index.cjs";
|
|
16
|
+
export * as Complex from "./Math/Complex.cjs";
|
|
17
|
+
export * as FileSystem from "./FileSystem/index.cjs";
|
|
18
|
+
export * as Functional from "./Functional/index.cjs";
|
|
19
|
+
export * as Math from "./Math/index.cjs";
|
|
20
|
+
export * as Miscellaneous from "./Miscellaneous/index.cjs";
|
|
21
|
+
export * as Npm from "./Npm/index.cjs";
|
|
22
|
+
export * as Path from "./Path/index.cjs";
|
|
23
|
+
export * as String from "./String/index.cjs";
|
|
24
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "index.d.cts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../Source/index.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file index.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @module
|
|
9
|
+
* General-purpose utility types and functions.
|
|
10
|
+
* This module barrel-exports each scoped export of this package.
|
|
11
|
+
* Use the scoped exports of this package to access only specific
|
|
12
|
+
* utilities (*e.g.*, `async`, `npm`, *etc.*).
|
|
13
|
+
*/
|
|
14
|
+
export * as Array from "./Array/index.mjs";
|
|
15
|
+
export * as Async from "./Async/index.mjs";
|
|
16
|
+
export * as Complex from "./Math/Complex.mjs";
|
|
17
|
+
export * as FileSystem from "./FileSystem/index.mjs";
|
|
18
|
+
export * as Functional from "./Functional/index.mjs";
|
|
19
|
+
export * as Math from "./Math/index.mjs";
|
|
20
|
+
export * as Miscellaneous from "./Miscellaneous/index.mjs";
|
|
21
|
+
export * as Npm from "./Npm/index.mjs";
|
|
22
|
+
export * as Path from "./Path/index.mjs";
|
|
23
|
+
export * as String from "./String/index.mjs";
|
|
24
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "index.d.mts",
|
|
4
|
+
"sourceRoot": "",
|
|
5
|
+
"sources": [
|
|
6
|
+
"../../Source/index.ts"
|
|
7
|
+
],
|
|
8
|
+
"names": [],
|
|
9
|
+
"mappings": "AAAA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC"
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file index.ts
|
|
3
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
4
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @module
|
|
9
|
+
* General-purpose utility types and functions.
|
|
10
|
+
* This module barrel-exports each scoped export of this package.
|
|
11
|
+
* Use the scoped exports of this package to access only specific
|
|
12
|
+
* utilities (*e.g.*, `async`, `npm`, *etc.*).
|
|
13
|
+
*/
|
|
14
|
+
export * as Array from "./Array/index.ts";
|
|
15
|
+
export * as Async from "./Async/index.ts";
|
|
16
|
+
export * as Complex from "./Math/Complex.ts";
|
|
17
|
+
export * as FileSystem from "./FileSystem/index.ts";
|
|
18
|
+
export * as Functional from "./Functional/index.ts";
|
|
19
|
+
export * as Math from "./Math/index.ts";
|
|
20
|
+
export * as Miscellaneous from "./Miscellaneous/index.ts";
|
|
21
|
+
export * as Npm from "./Npm/index.ts";
|
|
22
|
+
export * as Path from "./Path/index.ts";
|
|
23
|
+
export * as String from "./String/index.ts";
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../Source/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// Source/Array/index.ts
|
|
21
|
+
var Array_exports = {};
|
|
22
|
+
__export(Array_exports, {
|
|
23
|
+
FilterDefined: () => FilterDefined
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(Array_exports);
|
|
26
|
+
|
|
27
|
+
// Source/Array/Array.ts
|
|
28
|
+
function FilterDefined(Array) {
|
|
29
|
+
return Array.filter((Element) => {
|
|
30
|
+
return Element !== void 0;
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @file Array.ts
|
|
35
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
36
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
37
|
+
* @license MIT
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* @file Array.Types.ts
|
|
41
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
42
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
43
|
+
* @license MIT
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* @file index.ts
|
|
47
|
+
* @author Gage Sorrell <gage@sorrell.sh>
|
|
48
|
+
* @copyright (c) 2026 Gage Sorrell
|
|
49
|
+
* @license MIT
|
|
50
|
+
*/
|
|
51
|
+
//# sourceMappingURL=array.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../Source/Array/index.ts", "../Source/Array/Array.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * @file index.ts\n * @author Gage Sorrell <gage@sorrell.sh>\n * @copyright (c) 2026 Gage Sorrell\n * @license MIT\n */\nexport * from \"./Array.ts\";\nexport * from \"./Array.Types.ts\";\n", "/**\n * @file Array.ts\n * @author Gage Sorrell <gage@sorrell.sh>\n * @copyright (c) 2026 Gage Sorrell\n * @license MIT\n */\nimport type { FilteredArray, Options, TArrayType } from \"./Array.Types.ts\";\nimport type { NoOptions } from \"../Miscellaneous/Utility.Types.ts\";\n/**\n * Filter out all instances of `undefined` from a given {@link Array:param}.\n * @param Array - The array to filter.\n *\n * @template ElementType - The type of the elements in the array.\n *\n * @returns {TArrayType<Exclude<ElementType, undefined>, Exclude<OptionsType, Options.MaybeDefined>>}\n * A new `Array` of type `Exclude<ElementType, undefined>` and `OptionsType` that is the given\n * {@link OptionsType}, with the {@link Options.MaybeDefined} option removed.\n *\n * @example With the given {@link ElementType} including `undefined`.\n * ```typescript\n * const MaybeOddNumbers: TArray<number | undefined> = [ 1, 3, undefined, 5 ];\n * const OddNumbers: TArray<number> = FilterDefined(MaybeOddNumbers);\n * ```\n * @example With the given {@link OptionsType} including `Options.MaybeDefined`.\n * ```typescript\n * const MaybeOddNumbers: TArray<number, Options.MaybeDefined> = [ 1, 3, undefined, 5 ];\n * const OddNumbers: TArray<number> = FilterDefined(MaybeOddNumbers);\n * ```\n */\nexport function FilterDefined<ElementType, OptionsType extends Options = NoOptions, ArraySize extends number = number>(Array: TArrayType<ElementType, OptionsType | Options.MaybeDefined, ArraySize>): FilteredArray<ElementType>;\nexport function FilterDefined<ElementType, OptionsType extends Options = NoOptions, ArraySize extends number = number>(Array: TArrayType<ElementType | undefined, OptionsType, ArraySize>): FilteredArray<ElementType>;\nexport function FilterDefined<ElementType, OptionsType extends Options = NoOptions, ArraySize extends number = number>(Array: TArrayType<ElementType | undefined, OptionsType | Options.MaybeDefined, ArraySize>): FilteredArray<ElementType>;\nexport function FilterDefined<ElementType, OptionsType extends Options = NoOptions, ArraySize extends number = number>(Array: TArrayType<ElementType | undefined, OptionsType | Options.MaybeDefined, ArraySize>): FilteredArray<ElementType> {\n return Array.filter((Element: ElementType | undefined): boolean => {\n return Element !== undefined;\n }) as FilteredArray<ElementType>;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACgCO,SAAS,cAAuG,OAAuH;AAC1O,SAAO,MAAM,OAAO,CAAC,YAA8C;AAC/D,WAAO,YAAY;AAAA,EACvB,CAAC;AACL;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|