@ts-fns/stdlib 0.1.0

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.
Files changed (135) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +132 -0
  3. package/dist/array/index.cjs +551 -0
  4. package/dist/array/index.cjs.map +1 -0
  5. package/dist/array/index.d.cts +334 -0
  6. package/dist/array/index.d.cts.map +1 -0
  7. package/dist/array/index.d.mts +334 -0
  8. package/dist/array/index.d.mts.map +1 -0
  9. package/dist/array/index.mjs +498 -0
  10. package/dist/array/index.mjs.map +1 -0
  11. package/dist/errors-CJsLpYo9.d.cts +25 -0
  12. package/dist/errors-CJsLpYo9.d.cts.map +1 -0
  13. package/dist/errors-CJsLpYo9.d.mts +25 -0
  14. package/dist/errors-CJsLpYo9.d.mts.map +1 -0
  15. package/dist/errors-Dw1kitu_.mjs +39 -0
  16. package/dist/errors-Dw1kitu_.mjs.map +1 -0
  17. package/dist/errors-O-d_Vemi.cjs +74 -0
  18. package/dist/errors-O-d_Vemi.cjs.map +1 -0
  19. package/dist/function/index.cjs +15 -0
  20. package/dist/function/index.d.cts +107 -0
  21. package/dist/function/index.d.cts.map +1 -0
  22. package/dist/function/index.d.mts +107 -0
  23. package/dist/function/index.d.mts.map +1 -0
  24. package/dist/function/index.mjs +3 -0
  25. package/dist/function-CB82a2GS.cjs +186 -0
  26. package/dist/function-CB82a2GS.cjs.map +1 -0
  27. package/dist/function-DnI2v0p3.mjs +121 -0
  28. package/dist/function-DnI2v0p3.mjs.map +1 -0
  29. package/dist/get-CWL_cu6G.mjs +27 -0
  30. package/dist/get-CWL_cu6G.mjs.map +1 -0
  31. package/dist/get-yrs1Kqho.cjs +38 -0
  32. package/dist/get-yrs1Kqho.cjs.map +1 -0
  33. package/dist/guard/index.cjs +43 -0
  34. package/dist/guard/index.cjs.map +1 -0
  35. package/dist/guard/index.d.cts +52 -0
  36. package/dist/guard/index.d.cts.map +1 -0
  37. package/dist/guard/index.d.mts +52 -0
  38. package/dist/guard/index.d.mts.map +1 -0
  39. package/dist/guard/index.mjs +40 -0
  40. package/dist/guard/index.mjs.map +1 -0
  41. package/dist/index-BJlKyBJH.d.cts +18 -0
  42. package/dist/index-BJlKyBJH.d.cts.map +1 -0
  43. package/dist/index-DGrnGMDt.d.mts +18 -0
  44. package/dist/index-DGrnGMDt.d.mts.map +1 -0
  45. package/dist/isNotNil-DrF-ohem.cjs +28 -0
  46. package/dist/isNotNil-DrF-ohem.cjs.map +1 -0
  47. package/dist/isNotNil-R5f1hC53.mjs +23 -0
  48. package/dist/isNotNil-R5f1hC53.mjs.map +1 -0
  49. package/dist/iterator/index.cjs +160 -0
  50. package/dist/iterator/index.cjs.map +1 -0
  51. package/dist/iterator/index.d.cts +71 -0
  52. package/dist/iterator/index.d.cts.map +1 -0
  53. package/dist/iterator/index.d.mts +71 -0
  54. package/dist/iterator/index.d.mts.map +1 -0
  55. package/dist/iterator/index.mjs +148 -0
  56. package/dist/iterator/index.mjs.map +1 -0
  57. package/dist/lens/index.cjs +199 -0
  58. package/dist/lens/index.cjs.map +1 -0
  59. package/dist/lens/index.d.cts +109 -0
  60. package/dist/lens/index.d.cts.map +1 -0
  61. package/dist/lens/index.d.mts +109 -0
  62. package/dist/lens/index.d.mts.map +1 -0
  63. package/dist/lens/index.mjs +187 -0
  64. package/dist/lens/index.mjs.map +1 -0
  65. package/dist/map/index.cjs +86 -0
  66. package/dist/map/index.cjs.map +1 -0
  67. package/dist/map/index.d.cts +41 -0
  68. package/dist/map/index.d.cts.map +1 -0
  69. package/dist/map/index.d.mts +41 -0
  70. package/dist/map/index.d.mts.map +1 -0
  71. package/dist/map/index.mjs +75 -0
  72. package/dist/map/index.mjs.map +1 -0
  73. package/dist/number/index.cjs +179 -0
  74. package/dist/number/index.cjs.map +1 -0
  75. package/dist/number/index.d.cts +112 -0
  76. package/dist/number/index.d.cts.map +1 -0
  77. package/dist/number/index.d.mts +112 -0
  78. package/dist/number/index.d.mts.map +1 -0
  79. package/dist/number/index.mjs +159 -0
  80. package/dist/number/index.mjs.map +1 -0
  81. package/dist/object/index.cjs +190 -0
  82. package/dist/object/index.cjs.map +1 -0
  83. package/dist/object/index.d.cts +118 -0
  84. package/dist/object/index.d.cts.map +1 -0
  85. package/dist/object/index.d.mts +118 -0
  86. package/dist/object/index.d.mts.map +1 -0
  87. package/dist/object/index.mjs +169 -0
  88. package/dist/object/index.mjs.map +1 -0
  89. package/dist/orThrow-V91Jw2lF.mjs +15 -0
  90. package/dist/orThrow-V91Jw2lF.mjs.map +1 -0
  91. package/dist/orThrow-ejzcQYAI.cjs +20 -0
  92. package/dist/orThrow-ejzcQYAI.cjs.map +1 -0
  93. package/dist/order/index.cjs +50 -0
  94. package/dist/order/index.cjs.map +1 -0
  95. package/dist/order/index.d.cts +3 -0
  96. package/dist/order/index.d.mts +3 -0
  97. package/dist/order/index.mjs +42 -0
  98. package/dist/order/index.mjs.map +1 -0
  99. package/dist/order.constants-BWSCg3C7.d.cts +11 -0
  100. package/dist/order.constants-BWSCg3C7.d.cts.map +1 -0
  101. package/dist/order.constants-BWSCg3C7.d.mts +11 -0
  102. package/dist/order.constants-BWSCg3C7.d.mts.map +1 -0
  103. package/dist/purry-B2_0DGLV.cjs +28 -0
  104. package/dist/purry-B2_0DGLV.cjs.map +1 -0
  105. package/dist/purry-BOWmqwDB.mjs +23 -0
  106. package/dist/purry-BOWmqwDB.mjs.map +1 -0
  107. package/dist/set/index.cjs +131 -0
  108. package/dist/set/index.cjs.map +1 -0
  109. package/dist/set/index.d.cts +61 -0
  110. package/dist/set/index.d.cts.map +1 -0
  111. package/dist/set/index.d.mts +61 -0
  112. package/dist/set/index.d.mts.map +1 -0
  113. package/dist/set/index.mjs +115 -0
  114. package/dist/set/index.mjs.map +1 -0
  115. package/dist/string/index.cjs +288 -0
  116. package/dist/string/index.cjs.map +1 -0
  117. package/dist/string/index.d.cts +144 -0
  118. package/dist/string/index.d.cts.map +1 -0
  119. package/dist/string/index.d.mts +144 -0
  120. package/dist/string/index.d.mts.map +1 -0
  121. package/dist/string/index.mjs +254 -0
  122. package/dist/string/index.mjs.map +1 -0
  123. package/dist/tuple/index.cjs +135 -0
  124. package/dist/tuple/index.cjs.map +1 -0
  125. package/dist/tuple/index.d.cts +207 -0
  126. package/dist/tuple/index.d.cts.map +1 -0
  127. package/dist/tuple/index.d.mts +207 -0
  128. package/dist/tuple/index.d.mts.map +1 -0
  129. package/dist/tuple/index.mjs +122 -0
  130. package/dist/tuple/index.mjs.map +1 -0
  131. package/dist/types-D8f67ZCe.d.cts +54 -0
  132. package/dist/types-D8f67ZCe.d.cts.map +1 -0
  133. package/dist/types-D8f67ZCe.d.mts +54 -0
  134. package/dist/types-D8f67ZCe.d.mts.map +1 -0
  135. package/package.json +177 -0
@@ -0,0 +1,144 @@
1
+ import { r as NotFoundError } from "../errors-CJsLpYo9.cjs";
2
+
3
+ //#region src/string/at.d.ts
4
+ declare function at(index: number): (str: string) => RangeError | string;
5
+ declare function at(str: string, index: number): RangeError | string;
6
+ declare namespace at {
7
+ var assert: typeof atAssert;
8
+ }
9
+ declare function atAssert(index: number): (str: string) => string;
10
+ declare function atAssert(str: string, index: number): string;
11
+ //#endregion
12
+ //#region src/string/charCodeAt.d.ts
13
+ declare function charCodeAt(index: number): (str: string) => RangeError | number;
14
+ declare function charCodeAt(str: string, index: number): RangeError | number;
15
+ declare namespace charCodeAt {
16
+ var assert: typeof charCodeAtAssert;
17
+ }
18
+ declare function charCodeAtAssert(index: number): (str: string) => number;
19
+ declare function charCodeAtAssert(str: string, index: number): number;
20
+ //#endregion
21
+ //#region src/string/codePointAt.d.ts
22
+ declare function codePointAt(index: number): (str: string) => RangeError | number;
23
+ declare function codePointAt(str: string, index: number): RangeError | number;
24
+ declare namespace codePointAt {
25
+ var assert: typeof codePointAtAssert;
26
+ }
27
+ declare function codePointAtAssert(index: number): (str: string) => number;
28
+ declare function codePointAtAssert(str: string, index: number): number;
29
+ //#endregion
30
+ //#region src/string/concat.d.ts
31
+ declare function concat(str: string, other: string): string;
32
+ //#endregion
33
+ //#region src/string/endsWith.d.ts
34
+ declare function endsWith(search: string): (str: string) => boolean;
35
+ declare function endsWith(str: string, search: string): boolean;
36
+ declare function endsWithPosition(search: string, position: number): (str: string) => boolean;
37
+ declare function endsWithPosition(str: string, search: string, position: number): boolean;
38
+ //#endregion
39
+ //#region src/string/includes.d.ts
40
+ declare function includes(search: string): (str: string) => boolean;
41
+ declare function includes(str: string, search: string): boolean;
42
+ declare function includesPosition(position: number, search: string): (str: string) => boolean;
43
+ declare function includesPosition(str: string, search: string, position: number): boolean;
44
+ //#endregion
45
+ //#region src/string/indexOf.d.ts
46
+ declare function indexOf(search: string): (str: string) => NotFoundError | number;
47
+ declare function indexOf(str: string, search: string): NotFoundError | number;
48
+ declare namespace indexOf {
49
+ var assert: typeof indexOfAssert;
50
+ }
51
+ declare function indexOfAssert(search: string): (str: string) => number;
52
+ declare function indexOfAssert(str: string, search: string): number;
53
+ declare function indexOfPosition(position: number, search: string): (str: string) => NotFoundError | number;
54
+ declare function indexOfPosition(str: string, search: string, position: number): NotFoundError | number;
55
+ declare namespace indexOfPosition {
56
+ var assert: typeof indexOfPositionAssert;
57
+ }
58
+ declare function indexOfPositionAssert(position: number, search: string): (str: string) => number;
59
+ declare function indexOfPositionAssert(str: string, search: string, position: number): number;
60
+ //#endregion
61
+ //#region src/string/isWellFormed.d.ts
62
+ declare function isWellFormed(str: string): boolean;
63
+ //#endregion
64
+ //#region src/string/localeCompare.d.ts
65
+ declare function localeCompare(left: string, right: string): number;
66
+ //#endregion
67
+ //#region src/string/normalize.d.ts
68
+ declare function normalize(str: string): string;
69
+ declare function normalizeForm(form: 'NFC' | 'NFD' | 'NFKC' | 'NFKD'): (str: string) => string;
70
+ declare function normalizeForm(str: string, form: 'NFC' | 'NFD' | 'NFKC' | 'NFKD'): string;
71
+ //#endregion
72
+ //#region src/string/padEnd.d.ts
73
+ declare function padEnd(targetLength: number, padString: string): (str: string) => string;
74
+ declare function padEnd(str: string, targetLength: number, padString: string): string;
75
+ //#endregion
76
+ //#region src/string/padStart.d.ts
77
+ declare function padStart(targetLength: number, padString: string): (str: string) => string;
78
+ declare function padStart(str: string, targetLength: number, padString: string): string;
79
+ //#endregion
80
+ //#region src/string/repeat.d.ts
81
+ declare function repeat(count: number): (str: string) => string;
82
+ declare function repeat(str: string, count: number): string;
83
+ //#endregion
84
+ //#region src/string/replace.d.ts
85
+ declare function replace(str: string, searchValue: RegExp | string, replaceValue: string): string;
86
+ declare function replaceAll(str: string, searchValue: RegExp | string, replacement: string): string;
87
+ //#endregion
88
+ //#region src/string/search.d.ts
89
+ declare function search(searcher: {
90
+ [Symbol.search](string: string): number;
91
+ }): (str: string) => NotFoundError | number;
92
+ declare function search(str: string, searcher: {
93
+ [Symbol.search](string: string): number;
94
+ }): NotFoundError | number;
95
+ declare namespace search {
96
+ var assert: typeof searchAssert;
97
+ }
98
+ declare function searchAssert(searcher: {
99
+ [Symbol.search](string: string): number;
100
+ }): (str: string) => number;
101
+ declare function searchAssert(str: string, searcher: {
102
+ [Symbol.search](string: string): number;
103
+ }): number;
104
+ //#endregion
105
+ //#region src/string/slice.d.ts
106
+ declare function slice(start: number): (str: string) => string;
107
+ declare function slice(str: string, start: number): string;
108
+ declare function sliceEnd(end: number): (str: string, start: number) => string;
109
+ declare function sliceEnd(str: string, start: number, end: number): string;
110
+ //#endregion
111
+ //#region src/string/split.d.ts
112
+ declare function split(separator: string): (str: string) => string[];
113
+ declare function split(str: string, separator: string): string[];
114
+ declare function splitLimit(separator: string, limit: number): (str: string) => string[];
115
+ declare function splitLimit(str: string, separator: string, limit: number): string[];
116
+ //#endregion
117
+ //#region src/string/startsWith.d.ts
118
+ declare function startsWith(search: string): (str: string) => boolean;
119
+ declare function startsWith(str: string, search: string): boolean;
120
+ declare function startsWithPosition(search: string, position: number): (str: string) => boolean;
121
+ declare function startsWithPosition(str: string, search: string, position: number): boolean;
122
+ //#endregion
123
+ //#region src/string/substring.d.ts
124
+ declare function substring(start: number, end: number): (str: string) => string;
125
+ declare function substring(str: string, start: number, end: number): string;
126
+ declare function substringEnd(start: number, end: number): (str: string) => string;
127
+ declare function substringEnd(str: string, start: number, end: number): string;
128
+ //#endregion
129
+ //#region src/string/toLowerCase.d.ts
130
+ declare function toLowerCase(str: string): string;
131
+ //#endregion
132
+ //#region src/string/toUpperCase.d.ts
133
+ declare function toUpperCase(str: string): string;
134
+ //#endregion
135
+ //#region src/string/toWellFormed.d.ts
136
+ declare function toWellFormed(str: string): string;
137
+ //#endregion
138
+ //#region src/string/trim.d.ts
139
+ declare function trim(str: string): string;
140
+ declare function trimEnd(str: string): string;
141
+ declare function trimStart(str: string): string;
142
+ //#endregion
143
+ export { at, charCodeAt, codePointAt, concat, endsWith, endsWithPosition, includes, includesPosition, indexOf, indexOfPosition, isWellFormed, localeCompare, normalize, normalizeForm, padEnd, padStart, repeat, replace, replaceAll, search, slice, sliceEnd, split, splitLimit, startsWith, startsWithPosition, substring, substringEnd, toLowerCase, toUpperCase, toWellFormed, trim, trimEnd, trimStart };
144
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/string/at.ts","../../src/string/charCodeAt.ts","../../src/string/codePointAt.ts","../../src/string/concat.ts","../../src/string/endsWith.ts","../../src/string/includes.ts","../../src/string/indexOf.ts","../../src/string/isWellFormed.ts","../../src/string/localeCompare.ts","../../src/string/normalize.ts","../../src/string/padEnd.ts","../../src/string/padStart.ts","../../src/string/repeat.ts","../../src/string/replace.ts","../../src/string/search.ts","../../src/string/slice.ts","../../src/string/split.ts","../../src/string/startsWith.ts","../../src/string/substring.ts","../../src/string/toLowerCase.ts","../../src/string/toUpperCase.ts","../../src/string/toWellFormed.ts","../../src/string/trim.ts"],"mappings":";;;iBAWgB,EAAA,CAAG,KAAA,YAAiB,GAAA,aAAgB,UAAU;AAAA,iBAC9C,EAAA,CAAG,GAAA,UAAa,K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iBAIhB,OAAA,CAAQ,GAAW;AAAA,iBAInB,SAAA,CAAU,GAAW"}
@@ -0,0 +1,144 @@
1
+ import { r as NotFoundError } from "../errors-CJsLpYo9.mjs";
2
+
3
+ //#region src/string/at.d.ts
4
+ declare function at(index: number): (str: string) => RangeError | string;
5
+ declare function at(str: string, index: number): RangeError | string;
6
+ declare namespace at {
7
+ var assert: typeof atAssert;
8
+ }
9
+ declare function atAssert(index: number): (str: string) => string;
10
+ declare function atAssert(str: string, index: number): string;
11
+ //#endregion
12
+ //#region src/string/charCodeAt.d.ts
13
+ declare function charCodeAt(index: number): (str: string) => RangeError | number;
14
+ declare function charCodeAt(str: string, index: number): RangeError | number;
15
+ declare namespace charCodeAt {
16
+ var assert: typeof charCodeAtAssert;
17
+ }
18
+ declare function charCodeAtAssert(index: number): (str: string) => number;
19
+ declare function charCodeAtAssert(str: string, index: number): number;
20
+ //#endregion
21
+ //#region src/string/codePointAt.d.ts
22
+ declare function codePointAt(index: number): (str: string) => RangeError | number;
23
+ declare function codePointAt(str: string, index: number): RangeError | number;
24
+ declare namespace codePointAt {
25
+ var assert: typeof codePointAtAssert;
26
+ }
27
+ declare function codePointAtAssert(index: number): (str: string) => number;
28
+ declare function codePointAtAssert(str: string, index: number): number;
29
+ //#endregion
30
+ //#region src/string/concat.d.ts
31
+ declare function concat(str: string, other: string): string;
32
+ //#endregion
33
+ //#region src/string/endsWith.d.ts
34
+ declare function endsWith(search: string): (str: string) => boolean;
35
+ declare function endsWith(str: string, search: string): boolean;
36
+ declare function endsWithPosition(search: string, position: number): (str: string) => boolean;
37
+ declare function endsWithPosition(str: string, search: string, position: number): boolean;
38
+ //#endregion
39
+ //#region src/string/includes.d.ts
40
+ declare function includes(search: string): (str: string) => boolean;
41
+ declare function includes(str: string, search: string): boolean;
42
+ declare function includesPosition(position: number, search: string): (str: string) => boolean;
43
+ declare function includesPosition(str: string, search: string, position: number): boolean;
44
+ //#endregion
45
+ //#region src/string/indexOf.d.ts
46
+ declare function indexOf(search: string): (str: string) => NotFoundError | number;
47
+ declare function indexOf(str: string, search: string): NotFoundError | number;
48
+ declare namespace indexOf {
49
+ var assert: typeof indexOfAssert;
50
+ }
51
+ declare function indexOfAssert(search: string): (str: string) => number;
52
+ declare function indexOfAssert(str: string, search: string): number;
53
+ declare function indexOfPosition(position: number, search: string): (str: string) => NotFoundError | number;
54
+ declare function indexOfPosition(str: string, search: string, position: number): NotFoundError | number;
55
+ declare namespace indexOfPosition {
56
+ var assert: typeof indexOfPositionAssert;
57
+ }
58
+ declare function indexOfPositionAssert(position: number, search: string): (str: string) => number;
59
+ declare function indexOfPositionAssert(str: string, search: string, position: number): number;
60
+ //#endregion
61
+ //#region src/string/isWellFormed.d.ts
62
+ declare function isWellFormed(str: string): boolean;
63
+ //#endregion
64
+ //#region src/string/localeCompare.d.ts
65
+ declare function localeCompare(left: string, right: string): number;
66
+ //#endregion
67
+ //#region src/string/normalize.d.ts
68
+ declare function normalize(str: string): string;
69
+ declare function normalizeForm(form: 'NFC' | 'NFD' | 'NFKC' | 'NFKD'): (str: string) => string;
70
+ declare function normalizeForm(str: string, form: 'NFC' | 'NFD' | 'NFKC' | 'NFKD'): string;
71
+ //#endregion
72
+ //#region src/string/padEnd.d.ts
73
+ declare function padEnd(targetLength: number, padString: string): (str: string) => string;
74
+ declare function padEnd(str: string, targetLength: number, padString: string): string;
75
+ //#endregion
76
+ //#region src/string/padStart.d.ts
77
+ declare function padStart(targetLength: number, padString: string): (str: string) => string;
78
+ declare function padStart(str: string, targetLength: number, padString: string): string;
79
+ //#endregion
80
+ //#region src/string/repeat.d.ts
81
+ declare function repeat(count: number): (str: string) => string;
82
+ declare function repeat(str: string, count: number): string;
83
+ //#endregion
84
+ //#region src/string/replace.d.ts
85
+ declare function replace(str: string, searchValue: RegExp | string, replaceValue: string): string;
86
+ declare function replaceAll(str: string, searchValue: RegExp | string, replacement: string): string;
87
+ //#endregion
88
+ //#region src/string/search.d.ts
89
+ declare function search(searcher: {
90
+ [Symbol.search](string: string): number;
91
+ }): (str: string) => NotFoundError | number;
92
+ declare function search(str: string, searcher: {
93
+ [Symbol.search](string: string): number;
94
+ }): NotFoundError | number;
95
+ declare namespace search {
96
+ var assert: typeof searchAssert;
97
+ }
98
+ declare function searchAssert(searcher: {
99
+ [Symbol.search](string: string): number;
100
+ }): (str: string) => number;
101
+ declare function searchAssert(str: string, searcher: {
102
+ [Symbol.search](string: string): number;
103
+ }): number;
104
+ //#endregion
105
+ //#region src/string/slice.d.ts
106
+ declare function slice(start: number): (str: string) => string;
107
+ declare function slice(str: string, start: number): string;
108
+ declare function sliceEnd(end: number): (str: string, start: number) => string;
109
+ declare function sliceEnd(str: string, start: number, end: number): string;
110
+ //#endregion
111
+ //#region src/string/split.d.ts
112
+ declare function split(separator: string): (str: string) => string[];
113
+ declare function split(str: string, separator: string): string[];
114
+ declare function splitLimit(separator: string, limit: number): (str: string) => string[];
115
+ declare function splitLimit(str: string, separator: string, limit: number): string[];
116
+ //#endregion
117
+ //#region src/string/startsWith.d.ts
118
+ declare function startsWith(search: string): (str: string) => boolean;
119
+ declare function startsWith(str: string, search: string): boolean;
120
+ declare function startsWithPosition(search: string, position: number): (str: string) => boolean;
121
+ declare function startsWithPosition(str: string, search: string, position: number): boolean;
122
+ //#endregion
123
+ //#region src/string/substring.d.ts
124
+ declare function substring(start: number, end: number): (str: string) => string;
125
+ declare function substring(str: string, start: number, end: number): string;
126
+ declare function substringEnd(start: number, end: number): (str: string) => string;
127
+ declare function substringEnd(str: string, start: number, end: number): string;
128
+ //#endregion
129
+ //#region src/string/toLowerCase.d.ts
130
+ declare function toLowerCase(str: string): string;
131
+ //#endregion
132
+ //#region src/string/toUpperCase.d.ts
133
+ declare function toUpperCase(str: string): string;
134
+ //#endregion
135
+ //#region src/string/toWellFormed.d.ts
136
+ declare function toWellFormed(str: string): string;
137
+ //#endregion
138
+ //#region src/string/trim.d.ts
139
+ declare function trim(str: string): string;
140
+ declare function trimEnd(str: string): string;
141
+ declare function trimStart(str: string): string;
142
+ //#endregion
143
+ export { at, charCodeAt, codePointAt, concat, endsWith, endsWithPosition, includes, includesPosition, indexOf, indexOfPosition, isWellFormed, localeCompare, normalize, normalizeForm, padEnd, padStart, repeat, replace, replaceAll, search, slice, sliceEnd, split, splitLimit, startsWith, startsWithPosition, substring, substringEnd, toLowerCase, toUpperCase, toWellFormed, trim, trimEnd, trimStart };
144
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/string/at.ts","../../src/string/charCodeAt.ts","../../src/string/codePointAt.ts","../../src/string/concat.ts","../../src/string/endsWith.ts","../../src/string/includes.ts","../../src/string/indexOf.ts","../../src/string/isWellFormed.ts","../../src/string/localeCompare.ts","../../src/string/normalize.ts","../../src/string/padEnd.ts","../../src/string/padStart.ts","../../src/string/repeat.ts","../../src/string/replace.ts","../../src/string/search.ts","../../src/string/slice.ts","../../src/string/split.ts","../../src/string/startsWith.ts","../../src/string/substring.ts","../../src/string/toLowerCase.ts","../../src/string/toUpperCase.ts","../../src/string/toWellFormed.ts","../../src/string/trim.ts"],"mappings":";;;iBAWgB,EAAA,CAAG,KAAA,YAAiB,GAAA,aAAgB,UAAU;AAAA,iBAC9C,EAAA,CAAG,GAAA,UAAa,KAAA,WAAgB,UAAU;AAAA,kBAA1C,EAAA;EAAA,mBAAE,QAAA;AAAA;AAAA,iBAKT,QAAA,CAAS,KAAA,YAAiB,GAAW;AAAA,iBACrC,QAAA,CAAS,GAAA,UAAa,KAAa;;;iBCL5B,UAAA,CAAW,KAAA,YAAiB,GAAA,aAAgB,UAAU;AAAA,iBACtD,UAAA,CAAW,GAAA,UAAa,KAAA,WAAgB,UAAU;AAAA,kBAAlD,UAAA;EAAA,mBAAU,gBAAA;AAAA;AAAA,iBAKjB,gBAAA,CAAiB,KAAA,YAAiB,GAAW;AAAA,iBAC7C,gBAAA,CAAiB,GAAA,UAAa,KAAa;;;iBCPpC,WAAA,CAAY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AAAA,iBACrC,QAAA,CAAS,GAAA,UAAa,KAAA,UAAe,GAAA;;;iBCXrC,KAAA,CAAM,SAAA,YAAqB,GAAW;AAAA,iBACtC,KAAA,CAAM,GAAA,UAAa,SAAiB;AAAA,iBASpC,UAAA,CAAW,SAAA,UAAmB,KAAA,YAAiB,GAAA;AAAA,iBAC/C,UAAA,CAAW,GAAA,UAAa,SAAA,UAAmB,KAAA;;;iBCX3C,UAAA,CAAW,MAAA,YAAkB,GAAW;AAAA,iBACxC,UAAA,CAAW,GAAA,UAAa,MAAc;AAAA,iBAStC,kBAAA,CAAmB,MAAA,UAAgB,QAAA,YAAoB,GAAA;AAAA,iBACvD,kBAAA,CAAmB,GAAA,UAAa,MAAA,UAAgB,QAAA;;;iBCXhD,SAAA,CAAU,KAAA,UAAe,GAAA,YAAe,GAAA;AAAA,iBACxC,SAAA,CAAU,GAAA,UAAa,KAAA,UAAe,GAAA;AAAA,iBAStC,YAAA,CAAa,KAAA,UAAe,GAAA,YAAe,GAAA;AAAA,iBAC3C,YAAA,CAAa,GAAA,UAAa,KAAA,UAAe,GAAA;;;iBCjBzC,WAAA,CAAY,GAAW;;;iBCAvB,WAAA,CAAY,GAAW;;;iBCAvB,YAAA,CAAa,GAAW;;;iBCAxB,IAAA,CAAK,GAAW;AAAA,iBAIhB,OAAA,CAAQ,GAAW;AAAA,iBAInB,SAAA,CAAU,GAAW"}
@@ -0,0 +1,254 @@
1
+ import { t as orThrow } from "../orThrow-V91Jw2lF.mjs";
2
+ import { t as purry } from "../purry-BOWmqwDB.mjs";
3
+ import { a as NotYetImplementedError, i as NotFoundError } from "../errors-Dw1kitu_.mjs";
4
+ import "../function-DnI2v0p3.mjs";
5
+ //#region src/string/at.ts
6
+ function atImplementation(str, index) {
7
+ if (index >= str.length || index < -str.length) return /* @__PURE__ */ new RangeError(`Str.at() :: Invalid index : ${index}`);
8
+ return str.at(index);
9
+ }
10
+ function at(...args) {
11
+ return purry(atImplementation, args);
12
+ }
13
+ function atAssert(...args) {
14
+ return purry(orThrow(atImplementation), args);
15
+ }
16
+ at.assert = atAssert;
17
+ //#endregion
18
+ //#region src/string/charCodeAt.ts
19
+ function charCodeAtImplementation(str, index) {
20
+ if (index >= str.length || index < -str.length) return /* @__PURE__ */ new RangeError(`Str.charCodeAt() :: Invalid index : ${index}`);
21
+ const adjustedIndex = index < 0 ? str.length + index : index;
22
+ return str.charCodeAt(adjustedIndex);
23
+ }
24
+ function charCodeAt(...args) {
25
+ return purry(charCodeAtImplementation, args);
26
+ }
27
+ function charCodeAtAssert(...args) {
28
+ return purry(orThrow(charCodeAtImplementation), args);
29
+ }
30
+ charCodeAt.assert = charCodeAtAssert;
31
+ //#endregion
32
+ //#region src/string/codePointAt.ts
33
+ function codePointAtImplementation(str, index) {
34
+ if (index >= str.length || index < -str.length) return /* @__PURE__ */ new RangeError(`Str.codePointAt() :: Invalid index : ${index}`);
35
+ const adjustedIndex = index < 0 ? str.length + index : index;
36
+ return str.codePointAt(adjustedIndex);
37
+ }
38
+ function codePointAt(...args) {
39
+ return purry(codePointAtImplementation, args);
40
+ }
41
+ function codePointAtAssert(...args) {
42
+ return purry(orThrow(codePointAtImplementation), args);
43
+ }
44
+ codePointAt.assert = codePointAtAssert;
45
+ //#endregion
46
+ //#region src/string/concat.ts
47
+ function concat(str, other) {
48
+ throw new NotYetImplementedError("Str.concat not yet implemented");
49
+ }
50
+ //#endregion
51
+ //#region src/string/endsWith.ts
52
+ function endsWithImplementation(str, search) {
53
+ return str.endsWith(search);
54
+ }
55
+ function endsWith(...args) {
56
+ return purry(endsWithImplementation, args);
57
+ }
58
+ function endsWithPositionImplementation(str, search, position) {
59
+ return str.endsWith(search, position);
60
+ }
61
+ function endsWithPosition(...args) {
62
+ return purry(endsWithPositionImplementation, args);
63
+ }
64
+ //#endregion
65
+ //#region src/string/includes.ts
66
+ function includesImplementation(str, search) {
67
+ return str.includes(search);
68
+ }
69
+ function includes(...args) {
70
+ return purry(includesImplementation, args);
71
+ }
72
+ function includesPositionImplementation(str, search, position) {
73
+ return str.includes(search, position);
74
+ }
75
+ function includesPosition(...args) {
76
+ return purry(includesPositionImplementation, args);
77
+ }
78
+ //#endregion
79
+ //#region src/string/indexOf.ts
80
+ function indexOfImplementation(str, search) {
81
+ const result = str.indexOf(search);
82
+ if (result === -1) return new NotFoundError(`Str.indexOf() :: "${search}" not found in "${str}"`);
83
+ return result;
84
+ }
85
+ function indexOf(...args) {
86
+ return purry(indexOfImplementation, args);
87
+ }
88
+ function indexOfAssert(...args) {
89
+ return purry(orThrow(indexOfImplementation), args);
90
+ }
91
+ indexOf.assert = indexOfAssert;
92
+ function indexOfPositionImplementation(str, search, position) {
93
+ return str.indexOf(search, position);
94
+ }
95
+ function indexOfPosition(...args) {
96
+ return purry(indexOfPositionImplementation, args);
97
+ }
98
+ function indexOfPositionAssert(...args) {
99
+ return purry(orThrow(indexOfPositionImplementation), args);
100
+ }
101
+ indexOfPosition.assert = indexOfPositionAssert;
102
+ //#endregion
103
+ //#region src/string/isWellFormed.ts
104
+ function isWellFormed(str) {
105
+ return str.isWellFormed();
106
+ }
107
+ //#endregion
108
+ //#region src/string/localeCompare.ts
109
+ function localeCompare(left, right) {
110
+ throw new NotYetImplementedError("Str.localeCompare not yet implemented");
111
+ }
112
+ //#endregion
113
+ //#region src/string/normalize.ts
114
+ function normalize(str) {
115
+ return str.normalize();
116
+ }
117
+ function normalizeFormImplementation(str, form) {
118
+ return str.normalize(form);
119
+ }
120
+ function normalizeForm(...args) {
121
+ return purry(normalizeFormImplementation, args);
122
+ }
123
+ //#endregion
124
+ //#region src/string/padEnd.ts
125
+ function padEndImplementation(str, targetLength, padString) {
126
+ return str.padEnd(targetLength, padString);
127
+ }
128
+ function padEnd(...args) {
129
+ return purry(padEndImplementation, args);
130
+ }
131
+ //#endregion
132
+ //#region src/string/padStart.ts
133
+ function padStartImplementation(str, targetLength, padString) {
134
+ return str.padStart(targetLength, padString);
135
+ }
136
+ function padStart(...args) {
137
+ return purry(padStartImplementation, args);
138
+ }
139
+ //#endregion
140
+ //#region src/string/repeat.ts
141
+ function repeatImplementation(str, count) {
142
+ return str.repeat(count);
143
+ }
144
+ function repeat(...args) {
145
+ return purry(repeatImplementation, args);
146
+ }
147
+ //#endregion
148
+ //#region src/string/replace.ts
149
+ function replace(str, searchValue, replaceValue) {
150
+ throw new NotYetImplementedError("Str.replace not yet implemented");
151
+ }
152
+ function replaceAll(str, searchValue, replacement) {
153
+ throw new NotYetImplementedError("Str.replace not yet implemented");
154
+ }
155
+ //#endregion
156
+ //#region src/string/search.ts
157
+ function searchImplementation(str, searcher) {
158
+ const result = str.search(searcher);
159
+ if (result === -1) return new NotFoundError(`Str.search() :: "${searcher}" not found in "${str}"`);
160
+ return result;
161
+ }
162
+ function search(...args) {
163
+ return purry(searchImplementation, args);
164
+ }
165
+ function searchAssert(...args) {
166
+ return purry(orThrow(searchImplementation), args);
167
+ }
168
+ search.assert = searchAssert;
169
+ //#endregion
170
+ //#region src/string/slice.ts
171
+ function sliceImplementation(str, start) {
172
+ return str.slice(start);
173
+ }
174
+ function slice(...args) {
175
+ return purry(sliceImplementation, args);
176
+ }
177
+ function sliceEndImplementation(str, start, end) {
178
+ return str.slice(start, end);
179
+ }
180
+ function sliceEnd(...args) {
181
+ return purry(sliceEndImplementation, args);
182
+ }
183
+ //#endregion
184
+ //#region src/string/split.ts
185
+ function splitImplementation(str, separator) {
186
+ return str.split(separator);
187
+ }
188
+ function split(...args) {
189
+ return purry(splitImplementation, args);
190
+ }
191
+ function splitLimitImplementation(str, separator, limit) {
192
+ return str.split(separator, limit);
193
+ }
194
+ function splitLimit(...args) {
195
+ return purry(splitLimitImplementation, args);
196
+ }
197
+ //#endregion
198
+ //#region src/string/startsWith.ts
199
+ function startsWithImplementation(str, search) {
200
+ return str.startsWith(search);
201
+ }
202
+ function startsWith(...args) {
203
+ return purry(startsWithImplementation, args);
204
+ }
205
+ function startsWithPositionImplementation(str, search, position) {
206
+ return str.startsWith(search, position);
207
+ }
208
+ function startsWithPosition(...args) {
209
+ return purry(startsWithPositionImplementation, args);
210
+ }
211
+ //#endregion
212
+ //#region src/string/substring.ts
213
+ function substringImplementation(str, start, end) {
214
+ return str.substring(start, end);
215
+ }
216
+ function substring(...args) {
217
+ return purry(substringImplementation, args);
218
+ }
219
+ function substringEndImplementation(str, start, end) {
220
+ return str.substring(start, end);
221
+ }
222
+ function substringEnd(...args) {
223
+ return purry(substringEndImplementation, args);
224
+ }
225
+ //#endregion
226
+ //#region src/string/toLowerCase.ts
227
+ function toLowerCase(str) {
228
+ return str.toLowerCase();
229
+ }
230
+ //#endregion
231
+ //#region src/string/toUpperCase.ts
232
+ function toUpperCase(str) {
233
+ return str.toUpperCase();
234
+ }
235
+ //#endregion
236
+ //#region src/string/toWellFormed.ts
237
+ function toWellFormed(str) {
238
+ return str.toWellFormed();
239
+ }
240
+ //#endregion
241
+ //#region src/string/trim.ts
242
+ function trim(str) {
243
+ return str.trim();
244
+ }
245
+ function trimEnd(str) {
246
+ return str.trimEnd();
247
+ }
248
+ function trimStart(str) {
249
+ return str.trimStart();
250
+ }
251
+ //#endregion
252
+ export { at, charCodeAt, codePointAt, concat, endsWith, endsWithPosition, includes, includesPosition, indexOf, indexOfPosition, isWellFormed, localeCompare, normalize, normalizeForm, padEnd, padStart, repeat, replace, replaceAll, search, slice, sliceEnd, split, splitLimit, startsWith, startsWithPosition, substring, substringEnd, toLowerCase, toUpperCase, toWellFormed, trim, trimEnd, trimStart };
253
+
254
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../src/string/at.ts","../../src/string/charCodeAt.ts","../../src/string/codePointAt.ts","../../src/string/concat.ts","../../src/string/endsWith.ts","../../src/string/includes.ts","../../src/string/indexOf.ts","../../src/string/isWellFormed.ts","../../src/string/localeCompare.ts","../../src/string/normalize.ts","../../src/string/padEnd.ts","../../src/string/padStart.ts","../../src/string/repeat.ts","../../src/string/replace.ts","../../src/string/search.ts","../../src/string/slice.ts","../../src/string/split.ts","../../src/string/startsWith.ts","../../src/string/substring.ts","../../src/string/toLowerCase.ts","../../src/string/toUpperCase.ts","../../src/string/toWellFormed.ts","../../src/string/trim.ts"],"sourcesContent":["import { orThrow } from '../function/orThrow';\nimport { purry } from '../function/purry';\n\nfunction atImplementation(str: string, index: number): RangeError | string {\n if (index >= str.length || index < -str.length) {\n return new RangeError(`Str.at() :: Invalid index : ${index}`);\n }\n\n return str.at(index)!;\n}\n\nexport function at(index: number): (str: string) => RangeError | string;\nexport function at(str: string, index: number): RangeError | string;\nexport function at(...args: unknown[]): unknown {\n return purry(atImplementation, args);\n}\n\nfunction atAssert(index: number): (str: string) => string;\nfunction atAssert(str: string, index: number): string;\nfunction atAssert(...args: unknown[]): unknown {\n return purry(orThrow(atImplementation), args);\n}\n\nat.assert = atAssert;\n","import { orThrow } from '../function/orThrow';\nimport { purry } from '../function/purry';\n\nfunction charCodeAtImplementation(str: string, index: number): RangeError | number {\n if (index >= str.length || index < -str.length) {\n return new RangeError(`Str.charCodeAt() :: Invalid index : ${index}`);\n }\n\n const adjustedIndex = index < 0 ? str.length + index : index;\n\n return str.charCodeAt(adjustedIndex);\n}\n\nexport function charCodeAt(index: number): (str: string) => RangeError | number;\nexport function charCodeAt(str: string, index: number): RangeError | number;\nexport function charCodeAt(...args: unknown[]): unknown {\n return purry(charCodeAtImplementation, args);\n}\n\nfunction charCodeAtAssert(index: number): (str: string) => number;\nfunction charCodeAtAssert(str: string, index: number): number;\nfunction charCodeAtAssert(...args: unknown[]): unknown {\n return purry(orThrow(charCodeAtImplementation), args);\n}\n\ncharCodeAt.assert = charCodeAtAssert;\n","import { orThrow } from '../function/orThrow';\nimport { purry } from '../function/purry';\n\nfunction codePointAtImplementation(str: string, index: number): RangeError | number {\n if (index >= str.length || index < -str.length) {\n return new RangeError(`Str.codePointAt() :: Invalid index : ${index}`);\n }\n\n const adjustedIndex = index < 0 ? str.length + index : index;\n\n return str.codePointAt(adjustedIndex)!;\n}\n\nexport function codePointAt(index: number): (str: string) => RangeError | number;\nexport function codePointAt(str: string, index: number): RangeError | number;\nexport function codePointAt(...args: unknown[]): unknown {\n return purry(codePointAtImplementation, args);\n}\n\nfunction codePointAtAssert(index: number): (str: string) => number;\nfunction codePointAtAssert(str: string, index: number): number;\nfunction codePointAtAssert(...args: unknown[]): unknown {\n return purry(orThrow(codePointAtImplementation), args);\n}\n\ncodePointAt.assert = codePointAtAssert;\n","import { NotYetImplementedError } from '../errors';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function concat(str: string, other: string): string {\n // TODO: need to think about how to handle the native's variable argument length\n throw new NotYetImplementedError('Str.concat not yet implemented');\n}\n","import { purry } from '../function/purry';\n\nfunction endsWithImplementation(str: string, search: string): boolean {\n return str.endsWith(search);\n}\n\nexport function endsWith(search: string): (str: string) => boolean;\nexport function endsWith(str: string, search: string): boolean;\nexport function endsWith(...args: unknown[]): unknown {\n return purry(endsWithImplementation, args);\n}\n\nfunction endsWithPositionImplementation(str: string, search: string, position: number): boolean {\n return str.endsWith(search, position);\n}\n\nexport function endsWithPosition(search: string, position: number): (str: string) => boolean;\nexport function endsWithPosition(str: string, search: string, position: number): boolean;\nexport function endsWithPosition(...args: unknown[]): unknown {\n return purry(endsWithPositionImplementation, args);\n}\n","import { purry } from '../function/purry';\n\nfunction includesImplementation(str: string, search: string): boolean {\n return str.includes(search);\n}\n\nexport function includes(search: string): (str: string) => boolean;\nexport function includes(str: string, search: string): boolean;\nexport function includes(...args: unknown[]): unknown {\n return purry(includesImplementation, args);\n}\n\nfunction includesPositionImplementation(str: string, search: string, position: number): boolean {\n return str.includes(search, position);\n}\n\nexport function includesPosition(position: number, search: string): (str: string) => boolean;\nexport function includesPosition(str: string, search: string, position: number): boolean;\nexport function includesPosition(...args: unknown[]): unknown {\n return purry(includesPositionImplementation, args);\n}\n","import { NotFoundError } from '../errors';\nimport { orThrow } from '../function/orThrow';\nimport { purry } from '../function/purry';\n\nfunction indexOfImplementation(str: string, search: string): NotFoundError | number {\n const result = str.indexOf(search);\n if (result === -1) {\n return new NotFoundError(`Str.indexOf() :: \"${search}\" not found in \"${str}\"`);\n }\n return result;\n}\n\nexport function indexOf(search: string): (str: string) => NotFoundError | number;\nexport function indexOf(str: string, search: string): NotFoundError | number;\nexport function indexOf(...args: unknown[]): unknown {\n return purry(indexOfImplementation, args);\n}\n\nfunction indexOfAssert(search: string): (str: string) => number;\nfunction indexOfAssert(str: string, search: string): number;\nfunction indexOfAssert(...args: unknown[]): unknown {\n return purry(orThrow(indexOfImplementation), args);\n}\n\nindexOf.assert = indexOfAssert;\n\nfunction indexOfPositionImplementation(str: string, search: string, position: number): NotFoundError | number {\n return str.indexOf(search, position);\n}\n\nexport function indexOfPosition(position: number, search: string): (str: string) => NotFoundError | number;\nexport function indexOfPosition(str: string, search: string, position: number): NotFoundError | number;\nexport function indexOfPosition(...args: unknown[]): unknown {\n return purry(indexOfPositionImplementation, args);\n}\n\nfunction indexOfPositionAssert(position: number, search: string): (str: string) => number;\nfunction indexOfPositionAssert(str: string, search: string, position: number): number;\nfunction indexOfPositionAssert(...args: unknown[]): unknown {\n return purry(orThrow(indexOfPositionImplementation), args);\n}\n\nindexOfPosition.assert = indexOfPositionAssert;\n","export function isWellFormed(str: string): boolean {\n return str.isWellFormed();\n}\n","import { NotYetImplementedError } from '../errors';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function localeCompare(left: string, right: string): number {\n throw new NotYetImplementedError('Str.localeCompare not yet implemented');\n}\n","import { purry } from '../function/purry';\n\nexport function normalize(str: string): string {\n return str.normalize();\n}\n\nfunction normalizeFormImplementation(str: string, form: 'NFC' | 'NFD' | 'NFKC' | 'NFKD'): string {\n return str.normalize(form);\n}\n\nexport function normalizeForm(form: 'NFC' | 'NFD' | 'NFKC' | 'NFKD'): (str: string) => string;\nexport function normalizeForm(str: string, form: 'NFC' | 'NFD' | 'NFKC' | 'NFKD'): string;\nexport function normalizeForm(...args: unknown[]): unknown {\n return purry(normalizeFormImplementation, args);\n}\n","import { purry } from '../function/purry';\n\nfunction padEndImplementation(str: string, targetLength: number, padString: string): string {\n return str.padEnd(targetLength, padString);\n}\n\nexport function padEnd(targetLength: number, padString: string): (str: string) => string;\nexport function padEnd(str: string, targetLength: number, padString: string): string;\nexport function padEnd(...args: unknown[]): unknown {\n return purry(padEndImplementation, args);\n}\n","import { purry } from '../function/purry';\n\nfunction padStartImplementation(str: string, targetLength: number, padString: string): string {\n return str.padStart(targetLength, padString);\n}\n\nexport function padStart(targetLength: number, padString: string): (str: string) => string;\nexport function padStart(str: string, targetLength: number, padString: string): string;\nexport function padStart(...args: unknown[]): unknown {\n return purry(padStartImplementation, args);\n}\n","import { purry } from '../function/purry';\n\nfunction repeatImplementation(str: string, count: number): string {\n return str.repeat(count);\n}\n\nexport function repeat(count: number): (str: string) => string;\nexport function repeat(str: string, count: number): string;\nexport function repeat(...args: unknown[]): unknown {\n return purry(repeatImplementation, args);\n}\n","import { NotYetImplementedError } from '../errors';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function replace(str: string, searchValue: RegExp | string, replaceValue: string): string {\n throw new NotYetImplementedError('Str.replace not yet implemented');\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function replaceAll(str: string, searchValue: RegExp | string, replacement: string): string {\n throw new NotYetImplementedError('Str.replace not yet implemented');\n}\n","import { NotFoundError } from '../errors';\nimport { purry } from '../function';\nimport { orThrow } from '../function/orThrow';\n\nfunction searchImplementation(\n str: string,\n searcher: { [Symbol.search](string: string): number },\n): NotFoundError | number {\n const result = str.search(searcher);\n if (result === -1) {\n // eslint-disable-next-line @typescript-eslint/no-base-to-string, @typescript-eslint/restrict-template-expressions\n return new NotFoundError(`Str.search() :: \"${searcher}\" not found in \"${str}\"`);\n }\n return result;\n}\n\nexport function search(searcher: { [Symbol.search](string: string): number }): (str: string) => NotFoundError | number;\nexport function search(str: string, searcher: { [Symbol.search](string: string): number }): NotFoundError | number;\nexport function search(...args: unknown[]): unknown {\n return purry(searchImplementation, args);\n}\n\nfunction searchAssert(searcher: { [Symbol.search](string: string): number }): (str: string) => number;\nfunction searchAssert(str: string, searcher: { [Symbol.search](string: string): number }): number;\nfunction searchAssert(...args: unknown[]): unknown {\n return purry(orThrow(searchImplementation), args);\n}\n\nsearch.assert = searchAssert;\n","import { purry } from '../function/purry';\n\nfunction sliceImplementation(str: string, start: number): string {\n return str.slice(start);\n}\n\nexport function slice(start: number): (str: string) => string;\nexport function slice(str: string, start: number): string;\nexport function slice(...args: unknown[]): unknown {\n return purry(sliceImplementation, args);\n}\n\nfunction sliceEndImplementation(str: string, start: number, end: number): string {\n return str.slice(start, end);\n}\n\nexport function sliceEnd(end: number): (str: string, start: number) => string;\nexport function sliceEnd(str: string, start: number, end: number): string;\nexport function sliceEnd(...args: unknown[]): unknown {\n return purry(sliceEndImplementation, args);\n}\n","import { purry } from '../function/purry';\n\nfunction splitImplementation(str: string, separator: string): string[] {\n return str.split(separator);\n}\n\nexport function split(separator: string): (str: string) => string[];\nexport function split(str: string, separator: string): string[];\nexport function split(...args: unknown[]): unknown {\n return purry(splitImplementation, args);\n}\n\nfunction splitLimitImplementation(str: string, separator: string, limit: number): string[] {\n return str.split(separator, limit);\n}\n\nexport function splitLimit(separator: string, limit: number): (str: string) => string[];\nexport function splitLimit(str: string, separator: string, limit: number): string[];\nexport function splitLimit(...args: unknown[]): unknown {\n return purry(splitLimitImplementation, args);\n}\n","import { purry } from '../function/purry';\n\nfunction startsWithImplementation(str: string, search: string): boolean {\n return str.startsWith(search);\n}\n\nexport function startsWith(search: string): (str: string) => boolean;\nexport function startsWith(str: string, search: string): boolean;\nexport function startsWith(...args: unknown[]): unknown {\n return purry(startsWithImplementation, args);\n}\n\nfunction startsWithPositionImplementation(str: string, search: string, position: number): boolean {\n return str.startsWith(search, position);\n}\n\nexport function startsWithPosition(search: string, position: number): (str: string) => boolean;\nexport function startsWithPosition(str: string, search: string, position: number): boolean;\nexport function startsWithPosition(...args: unknown[]): unknown {\n return purry(startsWithPositionImplementation, args);\n}\n","import { purry } from '../function/purry';\n\nfunction substringImplementation(str: string, start: number, end: number): string {\n return str.substring(start, end);\n}\n\nexport function substring(start: number, end: number): (str: string) => string;\nexport function substring(str: string, start: number, end: number): string;\nexport function substring(...args: unknown[]): unknown {\n return purry(substringImplementation, args);\n}\n\nfunction substringEndImplementation(str: string, start: number, end: number): string {\n return str.substring(start, end);\n}\n\nexport function substringEnd(start: number, end: number): (str: string) => string;\nexport function substringEnd(str: string, start: number, end: number): string;\nexport function substringEnd(...args: unknown[]): unknown {\n return purry(substringEndImplementation, args);\n}\n","export function toLowerCase(str: string): string {\n return str.toLowerCase();\n}\n","export function toUpperCase(str: string): string {\n return str.toUpperCase();\n}\n","export function toWellFormed(str: string): string {\n return str.toWellFormed();\n}\n","export function trim(str: string): string {\n return str.trim();\n}\n\nexport function trimEnd(str: string): string {\n return str.trimEnd();\n}\n\nexport function trimStart(str: string): string {\n return str.trimStart();\n}\n"],"mappings":";;;;;AAGA,SAAS,iBAAiB,KAAa,OAAoC;CACzE,IAAI,SAAS,IAAI,UAAU,QAAQ,CAAC,IAAI,QACtC,uBAAO,IAAI,WAAW,+BAA+B,OAAO;CAG9D,OAAO,IAAI,GAAG,KAAK;AACrB;AAIA,SAAgB,GAAG,GAAG,MAA0B;CAC9C,OAAO,MAAM,kBAAkB,IAAI;AACrC;AAIA,SAAS,SAAS,GAAG,MAA0B;CAC7C,OAAO,MAAM,QAAQ,gBAAgB,GAAG,IAAI;AAC9C;AAEA,GAAG,SAAS;;;ACpBZ,SAAS,yBAAyB,KAAa,OAAoC;CACjF,IAAI,SAAS,IAAI,UAAU,QAAQ,CAAC,IAAI,QACtC,uBAAO,IAAI,WAAW,uCAAuC,OAAO;CAGtE,MAAM,gBAAgB,QAAQ,IAAI,IAAI,SAAS,QAAQ;CAEvD,OAAO,IAAI,WAAW,aAAa;AACrC;AAIA,SAAgB,WAAW,GAA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