@daysnap/utils 0.1.33 → 0.1.34
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/docs/classes/Poller.md +9 -9
- package/docs/classes/Storage.md +16 -16
- package/docs/interfaces/CreateWithToastOptions.md +1 -1
- package/docs/interfaces/EventBusCallback.md +1 -1
- package/docs/interfaces/PollerOptions.md +1 -1
- package/docs/interfaces/StorageManager.md +4 -4
- package/docs/interfaces/Trap.md +5 -5
- package/docs/modules.md +190 -160
- package/es/chunk-B6HL3YHK.js +26 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +18 -14
- package/es/merge.d.ts +6 -0
- package/es/merge.js +7 -0
- package/lib/chunk-45ZFYMTN.cjs +26 -0
- package/lib/index.cjs +16 -12
- package/lib/index.d.cts +1 -0
- package/lib/merge.cjs +7 -0
- package/lib/merge.d.cts +6 -0
- package/package.json +1 -1
package/docs/modules.md
CHANGED
|
@@ -135,6 +135,7 @@
|
|
|
135
135
|
- [lfToBr](modules.md#lftobr)
|
|
136
136
|
- [listGenerator](modules.md#listgenerator)
|
|
137
137
|
- [makePhoneCall](modules.md#makephonecall)
|
|
138
|
+
- [merge](modules.md#merge)
|
|
138
139
|
- [mousewheel](modules.md#mousewheel)
|
|
139
140
|
- [nf](modules.md#nf)
|
|
140
141
|
- [normalizeDate](modules.md#normalizedate)
|
|
@@ -200,7 +201,7 @@
|
|
|
200
201
|
|
|
201
202
|
#### Defined in
|
|
202
203
|
|
|
203
|
-
[poller.ts:7](https://github.com/daysnap/utils/blob/
|
|
204
|
+
[poller.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/poller.ts#L7)
|
|
204
205
|
|
|
205
206
|
## Variables
|
|
206
207
|
|
|
@@ -219,7 +220,7 @@
|
|
|
219
220
|
|
|
220
221
|
#### Defined in
|
|
221
222
|
|
|
222
|
-
[eventBus.ts:38](https://github.com/daysnap/utils/blob/
|
|
223
|
+
[eventBus.ts:38](https://github.com/daysnap/utils/blob/eebc05a/src/eventBus.ts#L38)
|
|
223
224
|
|
|
224
225
|
___
|
|
225
226
|
|
|
@@ -244,7 +245,7 @@ ___
|
|
|
244
245
|
|
|
245
246
|
#### Defined in
|
|
246
247
|
|
|
247
|
-
[sounds.ts:13](https://github.com/daysnap/utils/blob/
|
|
248
|
+
[sounds.ts:13](https://github.com/daysnap/utils/blob/eebc05a/src/sounds.ts#L13)
|
|
248
249
|
|
|
249
250
|
___
|
|
250
251
|
|
|
@@ -254,7 +255,7 @@ ___
|
|
|
254
255
|
|
|
255
256
|
#### Defined in
|
|
256
257
|
|
|
257
|
-
[trap.ts:15](https://github.com/daysnap/utils/blob/
|
|
258
|
+
[trap.ts:15](https://github.com/daysnap/utils/blob/eebc05a/src/trap.ts#L15)
|
|
258
259
|
|
|
259
260
|
## Functions
|
|
260
261
|
|
|
@@ -292,7 +293,7 @@ res = { '1': '男', '2': '女' }
|
|
|
292
293
|
|
|
293
294
|
#### Defined in
|
|
294
295
|
|
|
295
|
-
[ato.ts:12](https://github.com/daysnap/utils/blob/
|
|
296
|
+
[ato.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/ato.ts#L12)
|
|
296
297
|
|
|
297
298
|
▸ **ato**<`T`, `K`, `V`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `T`[`V`]\>
|
|
298
299
|
|
|
@@ -318,7 +319,7 @@ res = { '1': '男', '2': '女' }
|
|
|
318
319
|
|
|
319
320
|
#### Defined in
|
|
320
321
|
|
|
321
|
-
[ato.ts:16](https://github.com/daysnap/utils/blob/
|
|
322
|
+
[ato.ts:16](https://github.com/daysnap/utils/blob/eebc05a/src/ato.ts#L16)
|
|
322
323
|
|
|
323
324
|
___
|
|
324
325
|
|
|
@@ -338,7 +339,7 @@ ___
|
|
|
338
339
|
|
|
339
340
|
#### Defined in
|
|
340
341
|
|
|
341
|
-
[decode.ts:41](https://github.com/daysnap/utils/blob/
|
|
342
|
+
[decode.ts:41](https://github.com/daysnap/utils/blob/eebc05a/src/decode.ts#L41)
|
|
342
343
|
|
|
343
344
|
___
|
|
344
345
|
|
|
@@ -361,7 +362,7 @@ base64 转 blob
|
|
|
361
362
|
|
|
362
363
|
#### Defined in
|
|
363
364
|
|
|
364
|
-
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/
|
|
365
|
+
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/base64ToBlob.ts#L6)
|
|
365
366
|
|
|
366
367
|
___
|
|
367
368
|
|
|
@@ -383,7 +384,7 @@ blob 转 base64
|
|
|
383
384
|
|
|
384
385
|
#### Defined in
|
|
385
386
|
|
|
386
|
-
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/
|
|
387
|
+
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/blobToBase64.ts#L4)
|
|
387
388
|
|
|
388
389
|
___
|
|
389
390
|
|
|
@@ -403,7 +404,7 @@ ___
|
|
|
403
404
|
|
|
404
405
|
#### Defined in
|
|
405
406
|
|
|
406
|
-
[decode.ts:8](https://github.com/daysnap/utils/blob/
|
|
407
|
+
[decode.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/decode.ts#L8)
|
|
407
408
|
|
|
408
409
|
___
|
|
409
410
|
|
|
@@ -444,7 +445,7 @@ ___
|
|
|
444
445
|
|
|
445
446
|
#### Defined in
|
|
446
447
|
|
|
447
|
-
[cached.ts:5](https://github.com/daysnap/utils/blob/
|
|
448
|
+
[cached.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/cached.ts#L5)
|
|
448
449
|
|
|
449
450
|
___
|
|
450
451
|
|
|
@@ -467,7 +468,7 @@ camelCase('hello-world') => helloWorld
|
|
|
467
468
|
|
|
468
469
|
#### Defined in
|
|
469
470
|
|
|
470
|
-
[camelCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
471
|
+
[camelCase.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/camelCase.ts#L5)
|
|
471
472
|
|
|
472
473
|
___
|
|
473
474
|
|
|
@@ -491,7 +492,7 @@ canvas 转 blob 文件
|
|
|
491
492
|
|
|
492
493
|
#### Defined in
|
|
493
494
|
|
|
494
|
-
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/
|
|
495
|
+
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/canvasToBlob.ts#L4)
|
|
495
496
|
|
|
496
497
|
___
|
|
497
498
|
|
|
@@ -514,7 +515,7 @@ capitalize('hello world') => Hello world
|
|
|
514
515
|
|
|
515
516
|
#### Defined in
|
|
516
517
|
|
|
517
|
-
[capitalize.ts:5](https://github.com/daysnap/utils/blob/
|
|
518
|
+
[capitalize.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/capitalize.ts#L5)
|
|
518
519
|
|
|
519
520
|
___
|
|
520
521
|
|
|
@@ -539,7 +540,7 @@ ___
|
|
|
539
540
|
|
|
540
541
|
#### Defined in
|
|
541
542
|
|
|
542
|
-
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/
|
|
543
|
+
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/chooseMedia.ts#L5)
|
|
543
544
|
|
|
544
545
|
___
|
|
545
546
|
|
|
@@ -563,7 +564,7 @@ ___
|
|
|
563
564
|
|
|
564
565
|
#### Defined in
|
|
565
566
|
|
|
566
|
-
[clamp.ts:7](https://github.com/daysnap/utils/blob/
|
|
567
|
+
[clamp.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/clamp.ts#L7)
|
|
567
568
|
|
|
568
569
|
___
|
|
569
570
|
|
|
@@ -591,7 +592,7 @@ ___
|
|
|
591
592
|
|
|
592
593
|
#### Defined in
|
|
593
594
|
|
|
594
|
-
[clone.ts:8](https://github.com/daysnap/utils/blob/
|
|
595
|
+
[clone.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/clone.ts#L8)
|
|
595
596
|
|
|
596
597
|
___
|
|
597
598
|
|
|
@@ -619,7 +620,7 @@ ___
|
|
|
619
620
|
|
|
620
621
|
#### Defined in
|
|
621
622
|
|
|
622
|
-
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/
|
|
623
|
+
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/cloneSimple.ts#L7)
|
|
623
624
|
|
|
624
625
|
___
|
|
625
626
|
|
|
@@ -641,7 +642,7 @@ ___
|
|
|
641
642
|
|
|
642
643
|
#### Defined in
|
|
643
644
|
|
|
644
|
-
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/
|
|
645
|
+
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/createHexColorByHash.ts#L4)
|
|
645
646
|
|
|
646
647
|
___
|
|
647
648
|
|
|
@@ -667,7 +668,7 @@ ___
|
|
|
667
668
|
|
|
668
669
|
#### Defined in
|
|
669
670
|
|
|
670
|
-
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/
|
|
671
|
+
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/eebc05a/src/compareVersion.ts#L9)
|
|
671
672
|
|
|
672
673
|
___
|
|
673
674
|
|
|
@@ -690,7 +691,7 @@ ___
|
|
|
690
691
|
|
|
691
692
|
#### Defined in
|
|
692
693
|
|
|
693
|
-
[compressImage.ts:4](https://github.com/daysnap/utils/blob/
|
|
694
|
+
[compressImage.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/compressImage.ts#L4)
|
|
694
695
|
|
|
695
696
|
___
|
|
696
697
|
|
|
@@ -712,7 +713,7 @@ ___
|
|
|
712
713
|
|
|
713
714
|
#### Defined in
|
|
714
715
|
|
|
715
|
-
[crToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
716
|
+
[crToBr.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/crToBr.ts#L4)
|
|
716
717
|
|
|
717
718
|
___
|
|
718
719
|
|
|
@@ -740,7 +741,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
|
|
|
740
741
|
|
|
741
742
|
#### Defined in
|
|
742
743
|
|
|
743
|
-
[createFactory.ts:4](https://github.com/daysnap/utils/blob/
|
|
744
|
+
[createFactory.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/createFactory.ts#L4)
|
|
744
745
|
|
|
745
746
|
___
|
|
746
747
|
|
|
@@ -778,7 +779,7 @@ ___
|
|
|
778
779
|
|
|
779
780
|
#### Defined in
|
|
780
781
|
|
|
781
|
-
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/
|
|
782
|
+
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/eebc05a/src/createLinearFunction.ts#L9)
|
|
782
783
|
|
|
783
784
|
___
|
|
784
785
|
|
|
@@ -810,7 +811,7 @@ ___
|
|
|
810
811
|
|
|
811
812
|
#### Defined in
|
|
812
813
|
|
|
813
|
-
[trap.ts:49](https://github.com/daysnap/utils/blob/
|
|
814
|
+
[trap.ts:49](https://github.com/daysnap/utils/blob/eebc05a/src/trap.ts#L49)
|
|
814
815
|
|
|
815
816
|
___
|
|
816
817
|
|
|
@@ -873,7 +874,7 @@ fn() 执行的时候就会执行showLoading
|
|
|
873
874
|
|
|
874
875
|
#### Defined in
|
|
875
876
|
|
|
876
|
-
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/
|
|
877
|
+
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/createWithLoading.ts#L11)
|
|
877
878
|
|
|
878
879
|
___
|
|
879
880
|
|
|
@@ -911,7 +912,7 @@ ___
|
|
|
911
912
|
|
|
912
913
|
#### Defined in
|
|
913
914
|
|
|
914
|
-
createWithToast.ts:11
|
|
915
|
+
[createWithToast.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/createWithToast.ts#L11)
|
|
915
916
|
|
|
916
917
|
___
|
|
917
918
|
|
|
@@ -933,7 +934,7 @@ ___
|
|
|
933
934
|
|
|
934
935
|
#### Defined in
|
|
935
936
|
|
|
936
|
-
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
937
|
+
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/crlfToBr.ts#L4)
|
|
937
938
|
|
|
938
939
|
___
|
|
939
940
|
|
|
@@ -976,7 +977,7 @@ ___
|
|
|
976
977
|
|
|
977
978
|
#### Defined in
|
|
978
979
|
|
|
979
|
-
[debounce.ts:5](https://github.com/daysnap/utils/blob/
|
|
980
|
+
[debounce.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/debounce.ts#L5)
|
|
980
981
|
|
|
981
982
|
___
|
|
982
983
|
|
|
@@ -1000,7 +1001,7 @@ ___
|
|
|
1000
1001
|
|
|
1001
1002
|
#### Defined in
|
|
1002
1003
|
|
|
1003
|
-
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/
|
|
1004
|
+
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/downloadFile.ts#L4)
|
|
1004
1005
|
|
|
1005
1006
|
___
|
|
1006
1007
|
|
|
@@ -1029,7 +1030,7 @@ ___
|
|
|
1029
1030
|
|
|
1030
1031
|
#### Defined in
|
|
1031
1032
|
|
|
1032
|
-
[each.ts:4](https://github.com/daysnap/utils/blob/
|
|
1033
|
+
[each.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/each.ts#L4)
|
|
1033
1034
|
|
|
1034
1035
|
▸ **each**<`T`\>(`data`, `callback`): `void`
|
|
1035
1036
|
|
|
@@ -1052,7 +1053,7 @@ ___
|
|
|
1052
1053
|
|
|
1053
1054
|
#### Defined in
|
|
1054
1055
|
|
|
1055
|
-
[each.ts:8](https://github.com/daysnap/utils/blob/
|
|
1056
|
+
[each.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/each.ts#L8)
|
|
1056
1057
|
|
|
1057
1058
|
___
|
|
1058
1059
|
|
|
@@ -1070,7 +1071,7 @@ ___
|
|
|
1070
1071
|
|
|
1071
1072
|
#### Defined in
|
|
1072
1073
|
|
|
1073
|
-
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
1074
|
+
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/exitFullscreen.ts#L6)
|
|
1074
1075
|
|
|
1075
1076
|
___
|
|
1076
1077
|
|
|
@@ -1099,7 +1100,7 @@ ___
|
|
|
1099
1100
|
|
|
1100
1101
|
#### Defined in
|
|
1101
1102
|
|
|
1102
|
-
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/
|
|
1103
|
+
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/storage/factory.ts#L11)
|
|
1103
1104
|
|
|
1104
1105
|
___
|
|
1105
1106
|
|
|
@@ -1121,7 +1122,7 @@ ___
|
|
|
1121
1122
|
|
|
1122
1123
|
#### Defined in
|
|
1123
1124
|
|
|
1124
|
-
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1125
|
+
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/filterBankCardNo.ts#L4)
|
|
1125
1126
|
|
|
1126
1127
|
___
|
|
1127
1128
|
|
|
@@ -1151,7 +1152,7 @@ ___
|
|
|
1151
1152
|
|
|
1152
1153
|
#### Defined in
|
|
1153
1154
|
|
|
1154
|
-
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/
|
|
1155
|
+
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/crlfToBr.ts#L12)
|
|
1155
1156
|
|
|
1156
1157
|
___
|
|
1157
1158
|
|
|
@@ -1173,7 +1174,7 @@ ___
|
|
|
1173
1174
|
|
|
1174
1175
|
#### Defined in
|
|
1175
1176
|
|
|
1176
|
-
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/
|
|
1177
|
+
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/filterEmoji.ts#L4)
|
|
1177
1178
|
|
|
1178
1179
|
___
|
|
1179
1180
|
|
|
@@ -1196,7 +1197,7 @@ ___
|
|
|
1196
1197
|
|
|
1197
1198
|
#### Defined in
|
|
1198
1199
|
|
|
1199
|
-
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/
|
|
1200
|
+
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/filterEmptyValue.ts#L12)
|
|
1200
1201
|
|
|
1201
1202
|
___
|
|
1202
1203
|
|
|
@@ -1219,7 +1220,7 @@ ___
|
|
|
1219
1220
|
|
|
1220
1221
|
#### Defined in
|
|
1221
1222
|
|
|
1222
|
-
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/
|
|
1223
|
+
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/filterIdCard.ts#L5)
|
|
1223
1224
|
|
|
1224
1225
|
___
|
|
1225
1226
|
|
|
@@ -1241,7 +1242,7 @@ ___
|
|
|
1241
1242
|
|
|
1242
1243
|
#### Defined in
|
|
1243
1244
|
|
|
1244
|
-
[filterName.ts:4](https://github.com/daysnap/utils/blob/
|
|
1245
|
+
[filterName.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/filterName.ts#L4)
|
|
1245
1246
|
|
|
1246
1247
|
___
|
|
1247
1248
|
|
|
@@ -1266,7 +1267,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
|
|
|
1266
1267
|
|
|
1267
1268
|
#### Defined in
|
|
1268
1269
|
|
|
1269
|
-
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/
|
|
1270
|
+
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/filterPhone.ts#L6)
|
|
1270
1271
|
|
|
1271
1272
|
___
|
|
1272
1273
|
|
|
@@ -1293,7 +1294,7 @@ str = '131****8888'
|
|
|
1293
1294
|
|
|
1294
1295
|
#### Defined in
|
|
1295
1296
|
|
|
1296
|
-
[filterString.ts:6](https://github.com/daysnap/utils/blob/
|
|
1297
|
+
[filterString.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/filterString.ts#L6)
|
|
1297
1298
|
|
|
1298
1299
|
___
|
|
1299
1300
|
|
|
@@ -1316,7 +1317,7 @@ ___
|
|
|
1316
1317
|
|
|
1317
1318
|
#### Defined in
|
|
1318
1319
|
|
|
1319
|
-
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/
|
|
1320
|
+
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/formatAmount.ts#L4)
|
|
1320
1321
|
|
|
1321
1322
|
___
|
|
1322
1323
|
|
|
@@ -1340,7 +1341,7 @@ ___
|
|
|
1340
1341
|
|
|
1341
1342
|
#### Defined in
|
|
1342
1343
|
|
|
1343
|
-
[formatDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1344
|
+
[formatDate.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/formatDate.ts#L7)
|
|
1344
1345
|
|
|
1345
1346
|
___
|
|
1346
1347
|
|
|
@@ -1371,7 +1372,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
|
|
|
1371
1372
|
|
|
1372
1373
|
#### Defined in
|
|
1373
1374
|
|
|
1374
|
-
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/
|
|
1375
|
+
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/formatDateStr.ts#L6)
|
|
1375
1376
|
|
|
1376
1377
|
___
|
|
1377
1378
|
|
|
@@ -1391,7 +1392,7 @@ ___
|
|
|
1391
1392
|
|
|
1392
1393
|
#### Defined in
|
|
1393
1394
|
|
|
1394
|
-
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/
|
|
1395
|
+
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/formartDateToZN.ts#L4)
|
|
1395
1396
|
|
|
1396
1397
|
___
|
|
1397
1398
|
|
|
@@ -1414,7 +1415,7 @@ ___
|
|
|
1414
1415
|
|
|
1415
1416
|
#### Defined in
|
|
1416
1417
|
|
|
1417
|
-
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/
|
|
1418
|
+
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/formatFileSize.ts#L4)
|
|
1418
1419
|
|
|
1419
1420
|
___
|
|
1420
1421
|
|
|
@@ -1437,7 +1438,7 @@ yyyyMMdd -> yyyy-MM-dd
|
|
|
1437
1438
|
|
|
1438
1439
|
#### Defined in
|
|
1439
1440
|
|
|
1440
|
-
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
1441
|
+
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/formatGapDate.ts#L4)
|
|
1441
1442
|
|
|
1442
1443
|
___
|
|
1443
1444
|
|
|
@@ -1462,7 +1463,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
|
|
|
1462
1463
|
|
|
1463
1464
|
#### Defined in
|
|
1464
1465
|
|
|
1465
|
-
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/
|
|
1466
|
+
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/formatMessage.ts#L11)
|
|
1466
1467
|
|
|
1467
1468
|
___
|
|
1468
1469
|
|
|
@@ -1494,7 +1495,7 @@ rest = { xxx: 1 }
|
|
|
1494
1495
|
|
|
1495
1496
|
#### Defined in
|
|
1496
1497
|
|
|
1497
|
-
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/
|
|
1498
|
+
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/formatPathParams.ts#L8)
|
|
1498
1499
|
|
|
1499
1500
|
___
|
|
1500
1501
|
|
|
@@ -1516,7 +1517,7 @@ ___
|
|
|
1516
1517
|
|
|
1517
1518
|
#### Defined in
|
|
1518
1519
|
|
|
1519
|
-
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/
|
|
1520
|
+
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getBlobByUrl.ts#L4)
|
|
1520
1521
|
|
|
1521
1522
|
___
|
|
1522
1523
|
|
|
@@ -1539,7 +1540,7 @@ ___
|
|
|
1539
1540
|
|
|
1540
1541
|
#### Defined in
|
|
1541
1542
|
|
|
1542
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1543
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/eebc05a/src/storage/index.ts#L10)
|
|
1543
1544
|
|
|
1544
1545
|
___
|
|
1545
1546
|
|
|
@@ -1562,7 +1563,7 @@ ___
|
|
|
1562
1563
|
|
|
1563
1564
|
#### Defined in
|
|
1564
1565
|
|
|
1565
|
-
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/
|
|
1566
|
+
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/getDateBoundsByMonths.ts#L8)
|
|
1566
1567
|
|
|
1567
1568
|
▸ **getDateBoundsByMonths**(`monthsCount`, `date`, `fmt`): [`string`, `string`]
|
|
1568
1569
|
|
|
@@ -1580,7 +1581,7 @@ ___
|
|
|
1580
1581
|
|
|
1581
1582
|
#### Defined in
|
|
1582
1583
|
|
|
1583
|
-
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/
|
|
1584
|
+
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/getDateBoundsByMonths.ts#L12)
|
|
1584
1585
|
|
|
1585
1586
|
___
|
|
1586
1587
|
|
|
@@ -1602,7 +1603,7 @@ ___
|
|
|
1602
1603
|
|
|
1603
1604
|
#### Defined in
|
|
1604
1605
|
|
|
1605
|
-
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/
|
|
1606
|
+
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getDayMillisecond.ts#L4)
|
|
1606
1607
|
|
|
1607
1608
|
___
|
|
1608
1609
|
|
|
@@ -1625,7 +1626,7 @@ ___
|
|
|
1625
1626
|
|
|
1626
1627
|
#### Defined in
|
|
1627
1628
|
|
|
1628
|
-
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/
|
|
1629
|
+
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getDaysOfMonth.ts#L4)
|
|
1629
1630
|
|
|
1630
1631
|
___
|
|
1631
1632
|
|
|
@@ -1648,7 +1649,7 @@ ___
|
|
|
1648
1649
|
|
|
1649
1650
|
#### Defined in
|
|
1650
1651
|
|
|
1651
|
-
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1652
|
+
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getImageInfo.ts#L4)
|
|
1652
1653
|
|
|
1653
1654
|
___
|
|
1654
1655
|
|
|
@@ -1671,7 +1672,7 @@ ___
|
|
|
1671
1672
|
|
|
1672
1673
|
#### Defined in
|
|
1673
1674
|
|
|
1674
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1675
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/eebc05a/src/storage/index.ts#L10)
|
|
1675
1676
|
|
|
1676
1677
|
___
|
|
1677
1678
|
|
|
@@ -1693,7 +1694,7 @@ ___
|
|
|
1693
1694
|
|
|
1694
1695
|
#### Defined in
|
|
1695
1696
|
|
|
1696
|
-
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1697
|
+
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getMonthBounds.ts#L7)
|
|
1697
1698
|
|
|
1698
1699
|
▸ **getMonthBounds**(`value`, `fmt`): [`string`, `string`]
|
|
1699
1700
|
|
|
@@ -1710,7 +1711,7 @@ ___
|
|
|
1710
1711
|
|
|
1711
1712
|
#### Defined in
|
|
1712
1713
|
|
|
1713
|
-
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/
|
|
1714
|
+
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/getMonthBounds.ts#L8)
|
|
1714
1715
|
|
|
1715
1716
|
___
|
|
1716
1717
|
|
|
@@ -1733,7 +1734,7 @@ ___
|
|
|
1733
1734
|
|
|
1734
1735
|
#### Defined in
|
|
1735
1736
|
|
|
1736
|
-
[getRandom.ts:7](https://github.com/daysnap/utils/blob/
|
|
1737
|
+
[getRandom.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getRandom.ts#L7)
|
|
1737
1738
|
|
|
1738
1739
|
___
|
|
1739
1740
|
|
|
@@ -1749,7 +1750,7 @@ ___
|
|
|
1749
1750
|
|
|
1750
1751
|
#### Defined in
|
|
1751
1752
|
|
|
1752
|
-
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/
|
|
1753
|
+
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getRandomColor.ts#L4)
|
|
1753
1754
|
|
|
1754
1755
|
___
|
|
1755
1756
|
|
|
@@ -1771,7 +1772,7 @@ ___
|
|
|
1771
1772
|
|
|
1772
1773
|
#### Defined in
|
|
1773
1774
|
|
|
1774
|
-
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/
|
|
1775
|
+
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getRandomNumber.ts#L7)
|
|
1775
1776
|
|
|
1776
1777
|
___
|
|
1777
1778
|
|
|
@@ -1794,7 +1795,7 @@ ___
|
|
|
1794
1795
|
|
|
1795
1796
|
#### Defined in
|
|
1796
1797
|
|
|
1797
|
-
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1798
|
+
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getRangeDate.ts#L7)
|
|
1798
1799
|
|
|
1799
1800
|
▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
|
|
1800
1801
|
|
|
@@ -1812,7 +1813,7 @@ ___
|
|
|
1812
1813
|
|
|
1813
1814
|
#### Defined in
|
|
1814
1815
|
|
|
1815
|
-
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/
|
|
1816
|
+
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/getRangeDate.ts#L11)
|
|
1816
1817
|
|
|
1817
1818
|
___
|
|
1818
1819
|
|
|
@@ -1828,7 +1829,7 @@ ___
|
|
|
1828
1829
|
|
|
1829
1830
|
#### Defined in
|
|
1830
1831
|
|
|
1831
|
-
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
1832
|
+
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getScrollTop.ts#L4)
|
|
1832
1833
|
|
|
1833
1834
|
___
|
|
1834
1835
|
|
|
@@ -1850,7 +1851,7 @@ ___
|
|
|
1850
1851
|
|
|
1851
1852
|
#### Defined in
|
|
1852
1853
|
|
|
1853
|
-
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1854
|
+
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getVideoInfo.ts#L4)
|
|
1854
1855
|
|
|
1855
1856
|
___
|
|
1856
1857
|
|
|
@@ -1873,7 +1874,7 @@ ___
|
|
|
1873
1874
|
|
|
1874
1875
|
#### Defined in
|
|
1875
1876
|
|
|
1876
|
-
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1877
|
+
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getWeekBounds.ts#L7)
|
|
1877
1878
|
|
|
1878
1879
|
▸ **getWeekBounds**(`value`, `sundayIsFirstDay`, `fmt`): [`string`, `string`]
|
|
1879
1880
|
|
|
@@ -1891,7 +1892,7 @@ ___
|
|
|
1891
1892
|
|
|
1892
1893
|
#### Defined in
|
|
1893
1894
|
|
|
1894
|
-
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/
|
|
1895
|
+
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/getWeekBounds.ts#L11)
|
|
1895
1896
|
|
|
1896
1897
|
___
|
|
1897
1898
|
|
|
@@ -1914,7 +1915,7 @@ ___
|
|
|
1914
1915
|
|
|
1915
1916
|
#### Defined in
|
|
1916
1917
|
|
|
1917
|
-
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/
|
|
1918
|
+
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/getWeekday.ts#L6)
|
|
1918
1919
|
|
|
1919
1920
|
___
|
|
1920
1921
|
|
|
@@ -1930,7 +1931,7 @@ ___
|
|
|
1930
1931
|
|
|
1931
1932
|
#### Defined in
|
|
1932
1933
|
|
|
1933
|
-
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/
|
|
1934
|
+
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/inBrowser.ts#L4)
|
|
1934
1935
|
|
|
1935
1936
|
___
|
|
1936
1937
|
|
|
@@ -1952,7 +1953,7 @@ ___
|
|
|
1952
1953
|
|
|
1953
1954
|
#### Defined in
|
|
1954
1955
|
|
|
1955
|
-
[insertLink.ts:4](https://github.com/daysnap/utils/blob/
|
|
1956
|
+
[insertLink.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/insertLink.ts#L4)
|
|
1956
1957
|
|
|
1957
1958
|
▸ **insertLink**(`href`, `callback`): `void`
|
|
1958
1959
|
|
|
@@ -1969,7 +1970,7 @@ ___
|
|
|
1969
1970
|
|
|
1970
1971
|
#### Defined in
|
|
1971
1972
|
|
|
1972
|
-
[insertLink.ts:5](https://github.com/daysnap/utils/blob/
|
|
1973
|
+
[insertLink.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/insertLink.ts#L5)
|
|
1973
1974
|
|
|
1974
1975
|
___
|
|
1975
1976
|
|
|
@@ -1991,7 +1992,7 @@ ___
|
|
|
1991
1992
|
|
|
1992
1993
|
#### Defined in
|
|
1993
1994
|
|
|
1994
|
-
[insertScript.ts:4](https://github.com/daysnap/utils/blob/
|
|
1995
|
+
[insertScript.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/insertScript.ts#L4)
|
|
1995
1996
|
|
|
1996
1997
|
▸ **insertScript**(`src`, `callback`): `void`
|
|
1997
1998
|
|
|
@@ -2008,7 +2009,7 @@ ___
|
|
|
2008
2009
|
|
|
2009
2010
|
#### Defined in
|
|
2010
2011
|
|
|
2011
|
-
[insertScript.ts:5](https://github.com/daysnap/utils/blob/
|
|
2012
|
+
[insertScript.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/insertScript.ts#L5)
|
|
2012
2013
|
|
|
2013
2014
|
___
|
|
2014
2015
|
|
|
@@ -2030,7 +2031,7 @@ ___
|
|
|
2030
2031
|
|
|
2031
2032
|
#### Defined in
|
|
2032
2033
|
|
|
2033
|
-
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/
|
|
2034
|
+
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/insertStyle.ts#L4)
|
|
2034
2035
|
|
|
2035
2036
|
___
|
|
2036
2037
|
|
|
@@ -2059,7 +2060,7 @@ isAmount('1.123') => false
|
|
|
2059
2060
|
|
|
2060
2061
|
#### Defined in
|
|
2061
2062
|
|
|
2062
|
-
[isAmount.ts:11](https://github.com/daysnap/utils/blob/
|
|
2063
|
+
[isAmount.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/isAmount.ts#L11)
|
|
2063
2064
|
|
|
2064
2065
|
___
|
|
2065
2066
|
|
|
@@ -2075,7 +2076,7 @@ ___
|
|
|
2075
2076
|
|
|
2076
2077
|
#### Defined in
|
|
2077
2078
|
|
|
2078
|
-
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/
|
|
2079
|
+
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isAndroid.ts#L4)
|
|
2079
2080
|
|
|
2080
2081
|
___
|
|
2081
2082
|
|
|
@@ -2105,7 +2106,7 @@ val is T[]
|
|
|
2105
2106
|
|
|
2106
2107
|
#### Defined in
|
|
2107
2108
|
|
|
2108
|
-
[isArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2109
|
+
[isArray.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isArray.ts#L6)
|
|
2109
2110
|
|
|
2110
2111
|
___
|
|
2111
2112
|
|
|
@@ -2127,7 +2128,7 @@ val is boolean
|
|
|
2127
2128
|
|
|
2128
2129
|
#### Defined in
|
|
2129
2130
|
|
|
2130
|
-
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/
|
|
2131
|
+
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isBoolean.ts#L5)
|
|
2131
2132
|
|
|
2132
2133
|
___
|
|
2133
2134
|
|
|
@@ -2149,7 +2150,7 @@ ___
|
|
|
2149
2150
|
|
|
2150
2151
|
#### Defined in
|
|
2151
2152
|
|
|
2152
|
-
[isChinese.ts:4](https://github.com/daysnap/utils/blob/
|
|
2153
|
+
[isChinese.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isChinese.ts#L4)
|
|
2153
2154
|
|
|
2154
2155
|
___
|
|
2155
2156
|
|
|
@@ -2171,7 +2172,7 @@ val is Date
|
|
|
2171
2172
|
|
|
2172
2173
|
#### Defined in
|
|
2173
2174
|
|
|
2174
|
-
[isDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
2175
|
+
[isDate.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isDate.ts#L4)
|
|
2175
2176
|
|
|
2176
2177
|
___
|
|
2177
2178
|
|
|
@@ -2193,7 +2194,7 @@ ___
|
|
|
2193
2194
|
|
|
2194
2195
|
#### Defined in
|
|
2195
2196
|
|
|
2196
|
-
[isEmail.ts:4](https://github.com/daysnap/utils/blob/
|
|
2197
|
+
[isEmail.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isEmail.ts#L4)
|
|
2197
2198
|
|
|
2198
2199
|
___
|
|
2199
2200
|
|
|
@@ -2215,7 +2216,7 @@ ___
|
|
|
2215
2216
|
|
|
2216
2217
|
#### Defined in
|
|
2217
2218
|
|
|
2218
|
-
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/
|
|
2219
|
+
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isEmpty.ts#L6)
|
|
2219
2220
|
|
|
2220
2221
|
___
|
|
2221
2222
|
|
|
@@ -2237,7 +2238,7 @@ ___
|
|
|
2237
2238
|
|
|
2238
2239
|
#### Defined in
|
|
2239
2240
|
|
|
2240
|
-
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2241
|
+
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isEmptyArray.ts#L6)
|
|
2241
2242
|
|
|
2242
2243
|
___
|
|
2243
2244
|
|
|
@@ -2259,7 +2260,7 @@ ___
|
|
|
2259
2260
|
|
|
2260
2261
|
#### Defined in
|
|
2261
2262
|
|
|
2262
|
-
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
2263
|
+
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isEmptyObject.ts#L5)
|
|
2263
2264
|
|
|
2264
2265
|
___
|
|
2265
2266
|
|
|
@@ -2281,7 +2282,7 @@ val is Error
|
|
|
2281
2282
|
|
|
2282
2283
|
#### Defined in
|
|
2283
2284
|
|
|
2284
|
-
[isError.ts:4](https://github.com/daysnap/utils/blob/
|
|
2285
|
+
[isError.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isError.ts#L4)
|
|
2285
2286
|
|
|
2286
2287
|
___
|
|
2287
2288
|
|
|
@@ -2309,7 +2310,7 @@ val is T
|
|
|
2309
2310
|
|
|
2310
2311
|
#### Defined in
|
|
2311
2312
|
|
|
2312
|
-
[isFunction.ts:4](https://github.com/daysnap/utils/blob/
|
|
2313
|
+
[isFunction.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isFunction.ts#L4)
|
|
2313
2314
|
|
|
2314
2315
|
___
|
|
2315
2316
|
|
|
@@ -2327,7 +2328,7 @@ ___
|
|
|
2327
2328
|
|
|
2328
2329
|
#### Defined in
|
|
2329
2330
|
|
|
2330
|
-
[isIE.ts:6](https://github.com/daysnap/utils/blob/
|
|
2331
|
+
[isIE.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isIE.ts#L6)
|
|
2331
2332
|
|
|
2332
2333
|
___
|
|
2333
2334
|
|
|
@@ -2343,7 +2344,7 @@ ___
|
|
|
2343
2344
|
|
|
2344
2345
|
#### Defined in
|
|
2345
2346
|
|
|
2346
|
-
[isIOS.ts:4](https://github.com/daysnap/utils/blob/
|
|
2347
|
+
[isIOS.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isIOS.ts#L4)
|
|
2347
2348
|
|
|
2348
2349
|
___
|
|
2349
2350
|
|
|
@@ -2365,7 +2366,7 @@ ___
|
|
|
2365
2366
|
|
|
2366
2367
|
#### Defined in
|
|
2367
2368
|
|
|
2368
|
-
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/
|
|
2369
|
+
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isIdCard.ts#L4)
|
|
2369
2370
|
|
|
2370
2371
|
___
|
|
2371
2372
|
|
|
@@ -2387,7 +2388,7 @@ ___
|
|
|
2387
2388
|
|
|
2388
2389
|
#### Defined in
|
|
2389
2390
|
|
|
2390
|
-
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/
|
|
2391
|
+
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/isJSONString.ts#L7)
|
|
2391
2392
|
|
|
2392
2393
|
___
|
|
2393
2394
|
|
|
@@ -2409,7 +2410,7 @@ ___
|
|
|
2409
2410
|
|
|
2410
2411
|
#### Defined in
|
|
2411
2412
|
|
|
2412
|
-
[isLan.ts:5](https://github.com/daysnap/utils/blob/
|
|
2413
|
+
[isLan.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isLan.ts#L5)
|
|
2413
2414
|
|
|
2414
2415
|
___
|
|
2415
2416
|
|
|
@@ -2432,7 +2433,7 @@ ___
|
|
|
2432
2433
|
|
|
2433
2434
|
#### Defined in
|
|
2434
2435
|
|
|
2435
|
-
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/
|
|
2436
|
+
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isLeapYear.ts#L5)
|
|
2436
2437
|
|
|
2437
2438
|
___
|
|
2438
2439
|
|
|
@@ -2454,7 +2455,7 @@ ___
|
|
|
2454
2455
|
|
|
2455
2456
|
#### Defined in
|
|
2456
2457
|
|
|
2457
|
-
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/
|
|
2458
|
+
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isLicenseCode.ts#L5)
|
|
2458
2459
|
|
|
2459
2460
|
___
|
|
2460
2461
|
|
|
@@ -2470,7 +2471,7 @@ ___
|
|
|
2470
2471
|
|
|
2471
2472
|
#### Defined in
|
|
2472
2473
|
|
|
2473
|
-
[isMobile.ts:4](https://github.com/daysnap/utils/blob/
|
|
2474
|
+
[isMobile.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isMobile.ts#L4)
|
|
2474
2475
|
|
|
2475
2476
|
___
|
|
2476
2477
|
|
|
@@ -2493,7 +2494,7 @@ ___
|
|
|
2493
2494
|
|
|
2494
2495
|
#### Defined in
|
|
2495
2496
|
|
|
2496
|
-
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/
|
|
2497
|
+
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/isNativeFunction.ts#L7)
|
|
2497
2498
|
|
|
2498
2499
|
___
|
|
2499
2500
|
|
|
@@ -2515,7 +2516,7 @@ ___
|
|
|
2515
2516
|
|
|
2516
2517
|
#### Defined in
|
|
2517
2518
|
|
|
2518
|
-
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/
|
|
2519
|
+
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isNotEmpty.ts#L5)
|
|
2519
2520
|
|
|
2520
2521
|
___
|
|
2521
2522
|
|
|
@@ -2537,7 +2538,7 @@ val is null
|
|
|
2537
2538
|
|
|
2538
2539
|
#### Defined in
|
|
2539
2540
|
|
|
2540
|
-
[isNull.ts:4](https://github.com/daysnap/utils/blob/
|
|
2541
|
+
[isNull.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isNull.ts#L4)
|
|
2541
2542
|
|
|
2542
2543
|
___
|
|
2543
2544
|
|
|
@@ -2559,7 +2560,7 @@ val is number
|
|
|
2559
2560
|
|
|
2560
2561
|
#### Defined in
|
|
2561
2562
|
|
|
2562
|
-
[isNumber.ts:5](https://github.com/daysnap/utils/blob/
|
|
2563
|
+
[isNumber.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isNumber.ts#L5)
|
|
2563
2564
|
|
|
2564
2565
|
___
|
|
2565
2566
|
|
|
@@ -2587,7 +2588,7 @@ val is T
|
|
|
2587
2588
|
|
|
2588
2589
|
#### Defined in
|
|
2589
2590
|
|
|
2590
|
-
[isObject.ts:4](https://github.com/daysnap/utils/blob/
|
|
2591
|
+
[isObject.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isObject.ts#L4)
|
|
2591
2592
|
|
|
2592
2593
|
___
|
|
2593
2594
|
|
|
@@ -2609,7 +2610,7 @@ ___
|
|
|
2609
2610
|
|
|
2610
2611
|
#### Defined in
|
|
2611
2612
|
|
|
2612
|
-
[isPhone.ts:4](https://github.com/daysnap/utils/blob/
|
|
2613
|
+
[isPhone.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isPhone.ts#L4)
|
|
2613
2614
|
|
|
2614
2615
|
___
|
|
2615
2616
|
|
|
@@ -2637,7 +2638,7 @@ val is Promise<T\>
|
|
|
2637
2638
|
|
|
2638
2639
|
#### Defined in
|
|
2639
2640
|
|
|
2640
|
-
[isPromise.ts:4](https://github.com/daysnap/utils/blob/
|
|
2641
|
+
[isPromise.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isPromise.ts#L4)
|
|
2641
2642
|
|
|
2642
2643
|
___
|
|
2643
2644
|
|
|
@@ -2665,7 +2666,7 @@ value is PromiseLike<T\>
|
|
|
2665
2666
|
|
|
2666
2667
|
#### Defined in
|
|
2667
2668
|
|
|
2668
|
-
[isPromiseLike.ts:4](https://github.com/daysnap/utils/blob/
|
|
2669
|
+
[isPromiseLike.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isPromiseLike.ts#L4)
|
|
2669
2670
|
|
|
2670
2671
|
___
|
|
2671
2672
|
|
|
@@ -2687,7 +2688,7 @@ val is RegExp
|
|
|
2687
2688
|
|
|
2688
2689
|
#### Defined in
|
|
2689
2690
|
|
|
2690
|
-
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/
|
|
2691
|
+
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isRegExp.ts#L4)
|
|
2691
2692
|
|
|
2692
2693
|
___
|
|
2693
2694
|
|
|
@@ -2709,7 +2710,7 @@ val is string
|
|
|
2709
2710
|
|
|
2710
2711
|
#### Defined in
|
|
2711
2712
|
|
|
2712
|
-
[isString.ts:4](https://github.com/daysnap/utils/blob/
|
|
2713
|
+
[isString.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isString.ts#L4)
|
|
2713
2714
|
|
|
2714
2715
|
___
|
|
2715
2716
|
|
|
@@ -2738,7 +2739,7 @@ val is T
|
|
|
2738
2739
|
|
|
2739
2740
|
#### Defined in
|
|
2740
2741
|
|
|
2741
|
-
[isType.ts:4](https://github.com/daysnap/utils/blob/
|
|
2742
|
+
[isType.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isType.ts#L4)
|
|
2742
2743
|
|
|
2743
2744
|
___
|
|
2744
2745
|
|
|
@@ -2760,7 +2761,7 @@ val is undefined
|
|
|
2760
2761
|
|
|
2761
2762
|
#### Defined in
|
|
2762
2763
|
|
|
2763
|
-
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/
|
|
2764
|
+
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isUndefined.ts#L4)
|
|
2764
2765
|
|
|
2765
2766
|
___
|
|
2766
2767
|
|
|
@@ -2804,7 +2805,7 @@ ___
|
|
|
2804
2805
|
|
|
2805
2806
|
#### Defined in
|
|
2806
2807
|
|
|
2807
|
-
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/
|
|
2808
|
+
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isValidDate.ts#L6)
|
|
2808
2809
|
|
|
2809
2810
|
___
|
|
2810
2811
|
|
|
@@ -2820,7 +2821,7 @@ ___
|
|
|
2820
2821
|
|
|
2821
2822
|
#### Defined in
|
|
2822
2823
|
|
|
2823
|
-
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/
|
|
2824
|
+
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isWeChat.ts#L4)
|
|
2824
2825
|
|
|
2825
2826
|
___
|
|
2826
2827
|
|
|
@@ -2837,7 +2838,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
|
|
|
2837
2838
|
|
|
2838
2839
|
#### Defined in
|
|
2839
2840
|
|
|
2840
|
-
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/
|
|
2841
|
+
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isWeChatMiniProgram.ts#L5)
|
|
2841
2842
|
|
|
2842
2843
|
___
|
|
2843
2844
|
|
|
@@ -2861,7 +2862,7 @@ ___
|
|
|
2861
2862
|
|
|
2862
2863
|
#### Defined in
|
|
2863
2864
|
|
|
2864
|
-
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/
|
|
2865
|
+
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/isWeChat.ts#L12)
|
|
2865
2866
|
|
|
2866
2867
|
___
|
|
2867
2868
|
|
|
@@ -2883,7 +2884,7 @@ val is Window
|
|
|
2883
2884
|
|
|
2884
2885
|
#### Defined in
|
|
2885
2886
|
|
|
2886
|
-
[isWindow.ts:5](https://github.com/daysnap/utils/blob/
|
|
2887
|
+
[isWindow.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isWindow.ts#L5)
|
|
2887
2888
|
|
|
2888
2889
|
___
|
|
2889
2890
|
|
|
@@ -2906,7 +2907,7 @@ kebabCase('helloWorld') => hello-world
|
|
|
2906
2907
|
|
|
2907
2908
|
#### Defined in
|
|
2908
2909
|
|
|
2909
|
-
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
2910
|
+
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/kebabCase.ts#L5)
|
|
2910
2911
|
|
|
2911
2912
|
___
|
|
2912
2913
|
|
|
@@ -2928,7 +2929,7 @@ ___
|
|
|
2928
2929
|
|
|
2929
2930
|
#### Defined in
|
|
2930
2931
|
|
|
2931
|
-
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
2932
|
+
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/lfToBr.ts#L4)
|
|
2932
2933
|
|
|
2933
2934
|
___
|
|
2934
2935
|
|
|
@@ -2950,7 +2951,7 @@ list 生成器,快速生成数据
|
|
|
2950
2951
|
|
|
2951
2952
|
#### Defined in
|
|
2952
2953
|
|
|
2953
|
-
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/
|
|
2954
|
+
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/listGenerator.ts#L5)
|
|
2954
2955
|
|
|
2955
2956
|
▸ **listGenerator**<`T`\>(`length`, `fn`): `T`[]
|
|
2956
2957
|
|
|
@@ -2973,7 +2974,7 @@ list 生成器,快速生成数据
|
|
|
2973
2974
|
|
|
2974
2975
|
#### Defined in
|
|
2975
2976
|
|
|
2976
|
-
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/
|
|
2977
|
+
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/listGenerator.ts#L6)
|
|
2977
2978
|
|
|
2978
2979
|
___
|
|
2979
2980
|
|
|
@@ -2993,7 +2994,36 @@ ___
|
|
|
2993
2994
|
|
|
2994
2995
|
#### Defined in
|
|
2995
2996
|
|
|
2996
|
-
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/
|
|
2997
|
+
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/eebc05a/src/makePhoneCall.ts#L1)
|
|
2998
|
+
|
|
2999
|
+
___
|
|
3000
|
+
|
|
3001
|
+
### merge
|
|
3002
|
+
|
|
3003
|
+
▸ **merge**<`R`\>(`target`, `...sources`): `R`
|
|
3004
|
+
|
|
3005
|
+
深度合并对象,返回新对象
|
|
3006
|
+
|
|
3007
|
+
#### Type parameters
|
|
3008
|
+
|
|
3009
|
+
| Name | Type |
|
|
3010
|
+
| :------ | :------ |
|
|
3011
|
+
| `R` | extends `Record`<`string`, `any`\> = `any` |
|
|
3012
|
+
|
|
3013
|
+
#### Parameters
|
|
3014
|
+
|
|
3015
|
+
| Name | Type |
|
|
3016
|
+
| :------ | :------ |
|
|
3017
|
+
| `target` | `Record`<`string`, `any`\> |
|
|
3018
|
+
| `...sources` | `Record`<`string`, `any`\>[] |
|
|
3019
|
+
|
|
3020
|
+
#### Returns
|
|
3021
|
+
|
|
3022
|
+
`R`
|
|
3023
|
+
|
|
3024
|
+
#### Defined in
|
|
3025
|
+
|
|
3026
|
+
merge.ts:6
|
|
2997
3027
|
|
|
2998
3028
|
___
|
|
2999
3029
|
|
|
@@ -3018,7 +3048,7 @@ ___
|
|
|
3018
3048
|
|
|
3019
3049
|
#### Defined in
|
|
3020
3050
|
|
|
3021
|
-
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/
|
|
3051
|
+
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/eebc05a/src/mousewheel.ts#L22)
|
|
3022
3052
|
|
|
3023
3053
|
___
|
|
3024
3054
|
|
|
@@ -3034,7 +3064,7 @@ ___
|
|
|
3034
3064
|
|
|
3035
3065
|
#### Defined in
|
|
3036
3066
|
|
|
3037
|
-
[nf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3067
|
+
[nf.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/nf.ts#L4)
|
|
3038
3068
|
|
|
3039
3069
|
___
|
|
3040
3070
|
|
|
@@ -3058,7 +3088,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
|
|
|
3058
3088
|
|
|
3059
3089
|
#### Defined in
|
|
3060
3090
|
|
|
3061
|
-
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/
|
|
3091
|
+
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/normalizeDate.ts#L8)
|
|
3062
3092
|
|
|
3063
3093
|
___
|
|
3064
3094
|
|
|
@@ -3080,7 +3110,7 @@ ___
|
|
|
3080
3110
|
|
|
3081
3111
|
#### Defined in
|
|
3082
3112
|
|
|
3083
|
-
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/
|
|
3113
|
+
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/normalizePath.ts#L4)
|
|
3084
3114
|
|
|
3085
3115
|
___
|
|
3086
3116
|
|
|
@@ -3102,7 +3132,7 @@ ___
|
|
|
3102
3132
|
|
|
3103
3133
|
#### Defined in
|
|
3104
3134
|
|
|
3105
|
-
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/
|
|
3135
|
+
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/numberToLetter.ts#L4)
|
|
3106
3136
|
|
|
3107
3137
|
___
|
|
3108
3138
|
|
|
@@ -3132,7 +3162,7 @@ ___
|
|
|
3132
3162
|
|
|
3133
3163
|
#### Defined in
|
|
3134
3164
|
|
|
3135
|
-
[omit.ts:4](https://github.com/daysnap/utils/blob/
|
|
3165
|
+
[omit.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/omit.ts#L4)
|
|
3136
3166
|
|
|
3137
3167
|
___
|
|
3138
3168
|
|
|
@@ -3163,7 +3193,7 @@ omitBy(object, isNumber);
|
|
|
3163
3193
|
|
|
3164
3194
|
#### Defined in
|
|
3165
3195
|
|
|
3166
|
-
[omitBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3196
|
+
[omitBy.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/omitBy.ts#L6)
|
|
3167
3197
|
|
|
3168
3198
|
___
|
|
3169
3199
|
|
|
@@ -3187,7 +3217,7 @@ ___
|
|
|
3187
3217
|
|
|
3188
3218
|
#### Defined in
|
|
3189
3219
|
|
|
3190
|
-
[padding.ts:7](https://github.com/daysnap/utils/blob/
|
|
3220
|
+
[padding.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/padding.ts#L7)
|
|
3191
3221
|
|
|
3192
3222
|
___
|
|
3193
3223
|
|
|
@@ -3213,7 +3243,7 @@ ___
|
|
|
3213
3243
|
|
|
3214
3244
|
#### Defined in
|
|
3215
3245
|
|
|
3216
|
-
[parseDate.ts:5](https://github.com/daysnap/utils/blob/
|
|
3246
|
+
[parseDate.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/parseDate.ts#L5)
|
|
3217
3247
|
|
|
3218
3248
|
___
|
|
3219
3249
|
|
|
@@ -3239,7 +3269,7 @@ ___
|
|
|
3239
3269
|
|
|
3240
3270
|
#### Defined in
|
|
3241
3271
|
|
|
3242
|
-
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/
|
|
3272
|
+
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/parseDecimalString.ts#L5)
|
|
3243
3273
|
|
|
3244
3274
|
___
|
|
3245
3275
|
|
|
@@ -3262,7 +3292,7 @@ ___
|
|
|
3262
3292
|
|
|
3263
3293
|
#### Defined in
|
|
3264
3294
|
|
|
3265
|
-
[parseError.ts:8](https://github.com/daysnap/utils/blob/
|
|
3295
|
+
[parseError.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/parseError.ts#L8)
|
|
3266
3296
|
|
|
3267
3297
|
___
|
|
3268
3298
|
|
|
@@ -3287,7 +3317,7 @@ x0123 => ''
|
|
|
3287
3317
|
|
|
3288
3318
|
#### Defined in
|
|
3289
3319
|
|
|
3290
|
-
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/
|
|
3320
|
+
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/parseNumberString.ts#L7)
|
|
3291
3321
|
|
|
3292
3322
|
___
|
|
3293
3323
|
|
|
@@ -3317,7 +3347,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
|
|
|
3317
3347
|
|
|
3318
3348
|
#### Defined in
|
|
3319
3349
|
|
|
3320
|
-
[parseObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
3350
|
+
[parseObject.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/parseObject.ts#L5)
|
|
3321
3351
|
|
|
3322
3352
|
___
|
|
3323
3353
|
|
|
@@ -3346,7 +3376,7 @@ ___
|
|
|
3346
3376
|
|
|
3347
3377
|
#### Defined in
|
|
3348
3378
|
|
|
3349
|
-
[parsePath.ts:6](https://github.com/daysnap/utils/blob/
|
|
3379
|
+
[parsePath.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/parsePath.ts#L6)
|
|
3350
3380
|
|
|
3351
3381
|
___
|
|
3352
3382
|
|
|
@@ -3369,7 +3399,7 @@ ___
|
|
|
3369
3399
|
|
|
3370
3400
|
#### Defined in
|
|
3371
3401
|
|
|
3372
|
-
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/
|
|
3402
|
+
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/parseQuery.ts#L8)
|
|
3373
3403
|
|
|
3374
3404
|
___
|
|
3375
3405
|
|
|
@@ -3399,7 +3429,7 @@ ___
|
|
|
3399
3429
|
|
|
3400
3430
|
#### Defined in
|
|
3401
3431
|
|
|
3402
|
-
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3432
|
+
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/parseQueryString.ts#L6)
|
|
3403
3433
|
|
|
3404
3434
|
___
|
|
3405
3435
|
|
|
@@ -3422,7 +3452,7 @@ pascalCase('hello-world') => HelloWorld
|
|
|
3422
3452
|
|
|
3423
3453
|
#### Defined in
|
|
3424
3454
|
|
|
3425
|
-
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/
|
|
3455
|
+
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/pascalCase.ts#L8)
|
|
3426
3456
|
|
|
3427
3457
|
___
|
|
3428
3458
|
|
|
@@ -3452,7 +3482,7 @@ ___
|
|
|
3452
3482
|
|
|
3453
3483
|
#### Defined in
|
|
3454
3484
|
|
|
3455
|
-
[pick.ts:4](https://github.com/daysnap/utils/blob/
|
|
3485
|
+
[pick.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/pick.ts#L4)
|
|
3456
3486
|
|
|
3457
3487
|
___
|
|
3458
3488
|
|
|
@@ -3483,7 +3513,7 @@ pickBy(object, isNumber);
|
|
|
3483
3513
|
|
|
3484
3514
|
#### Defined in
|
|
3485
3515
|
|
|
3486
|
-
[pickBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3516
|
+
[pickBy.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/pickBy.ts#L6)
|
|
3487
3517
|
|
|
3488
3518
|
___
|
|
3489
3519
|
|
|
@@ -3506,7 +3536,7 @@ ___
|
|
|
3506
3536
|
|
|
3507
3537
|
#### Defined in
|
|
3508
3538
|
|
|
3509
|
-
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3539
|
+
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/replaceCrlf.ts#L4)
|
|
3510
3540
|
|
|
3511
3541
|
___
|
|
3512
3542
|
|
|
@@ -3530,7 +3560,7 @@ ___
|
|
|
3530
3560
|
|
|
3531
3561
|
#### Defined in
|
|
3532
3562
|
|
|
3533
|
-
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
3563
|
+
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/requestFullScreen.ts#L6)
|
|
3534
3564
|
|
|
3535
3565
|
___
|
|
3536
3566
|
|
|
@@ -3556,7 +3586,7 @@ reserve(0, '--') => 0
|
|
|
3556
3586
|
|
|
3557
3587
|
#### Defined in
|
|
3558
3588
|
|
|
3559
|
-
[reserve.ts:8](https://github.com/daysnap/utils/blob/
|
|
3589
|
+
[reserve.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/reserve.ts#L8)
|
|
3560
3590
|
|
|
3561
3591
|
___
|
|
3562
3592
|
|
|
@@ -3580,7 +3610,7 @@ ___
|
|
|
3580
3610
|
|
|
3581
3611
|
#### Defined in
|
|
3582
3612
|
|
|
3583
|
-
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/
|
|
3613
|
+
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/rgbToHex.ts#L4)
|
|
3584
3614
|
|
|
3585
3615
|
___
|
|
3586
3616
|
|
|
@@ -3603,7 +3633,7 @@ ___
|
|
|
3603
3633
|
|
|
3604
3634
|
#### Defined in
|
|
3605
3635
|
|
|
3606
|
-
[round.ts:6](https://github.com/daysnap/utils/blob/
|
|
3636
|
+
[round.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/round.ts#L6)
|
|
3607
3637
|
|
|
3608
3638
|
___
|
|
3609
3639
|
|
|
@@ -3628,7 +3658,7 @@ ___
|
|
|
3628
3658
|
|
|
3629
3659
|
#### Defined in
|
|
3630
3660
|
|
|
3631
|
-
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/
|
|
3661
|
+
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/roundUpToNearestInteger.ts#L7)
|
|
3632
3662
|
|
|
3633
3663
|
___
|
|
3634
3664
|
|
|
@@ -3644,7 +3674,7 @@ ___
|
|
|
3644
3674
|
|
|
3645
3675
|
#### Defined in
|
|
3646
3676
|
|
|
3647
|
-
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3677
|
+
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/scrollToTop.ts#L4)
|
|
3648
3678
|
|
|
3649
3679
|
___
|
|
3650
3680
|
|
|
@@ -3666,7 +3696,7 @@ ___
|
|
|
3666
3696
|
|
|
3667
3697
|
#### Defined in
|
|
3668
3698
|
|
|
3669
|
-
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3699
|
+
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/setScrollTop.ts#L4)
|
|
3670
3700
|
|
|
3671
3701
|
___
|
|
3672
3702
|
|
|
@@ -3690,7 +3720,7 @@ ___
|
|
|
3690
3720
|
|
|
3691
3721
|
#### Defined in
|
|
3692
3722
|
|
|
3693
|
-
[sleep.ts:7](https://github.com/daysnap/utils/blob/
|
|
3723
|
+
[sleep.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/sleep.ts#L7)
|
|
3694
3724
|
|
|
3695
3725
|
___
|
|
3696
3726
|
|
|
@@ -3719,7 +3749,7 @@ ___
|
|
|
3719
3749
|
|
|
3720
3750
|
#### Defined in
|
|
3721
3751
|
|
|
3722
|
-
[splitArray.ts:4](https://github.com/daysnap/utils/blob/
|
|
3752
|
+
[splitArray.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/splitArray.ts#L4)
|
|
3723
3753
|
|
|
3724
3754
|
___
|
|
3725
3755
|
|
|
@@ -3742,7 +3772,7 @@ ___
|
|
|
3742
3772
|
|
|
3743
3773
|
#### Defined in
|
|
3744
3774
|
|
|
3745
|
-
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/
|
|
3775
|
+
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/stringTrim.ts#L6)
|
|
3746
3776
|
|
|
3747
3777
|
___
|
|
3748
3778
|
|
|
@@ -3764,7 +3794,7 @@ ___
|
|
|
3764
3794
|
|
|
3765
3795
|
#### Defined in
|
|
3766
3796
|
|
|
3767
|
-
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/
|
|
3797
|
+
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/stringifyQuery.ts#L7)
|
|
3768
3798
|
|
|
3769
3799
|
___
|
|
3770
3800
|
|
|
@@ -3788,7 +3818,7 @@ ___
|
|
|
3788
3818
|
|
|
3789
3819
|
#### Defined in
|
|
3790
3820
|
|
|
3791
|
-
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3821
|
+
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/stringifyQueryString.ts#L6)
|
|
3792
3822
|
|
|
3793
3823
|
___
|
|
3794
3824
|
|
|
@@ -3832,7 +3862,7 @@ ___
|
|
|
3832
3862
|
|
|
3833
3863
|
#### Defined in
|
|
3834
3864
|
|
|
3835
|
-
[throttle.ts:48](https://github.com/daysnap/utils/blob/
|
|
3865
|
+
[throttle.ts:48](https://github.com/daysnap/utils/blob/eebc05a/src/throttle.ts#L48)
|
|
3836
3866
|
|
|
3837
3867
|
___
|
|
3838
3868
|
|
|
@@ -3875,7 +3905,7 @@ ___
|
|
|
3875
3905
|
|
|
3876
3906
|
#### Defined in
|
|
3877
3907
|
|
|
3878
|
-
[throttle.ts:5](https://github.com/daysnap/utils/blob/
|
|
3908
|
+
[throttle.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/throttle.ts#L5)
|
|
3879
3909
|
|
|
3880
3910
|
___
|
|
3881
3911
|
|
|
@@ -3918,7 +3948,7 @@ ___
|
|
|
3918
3948
|
|
|
3919
3949
|
#### Defined in
|
|
3920
3950
|
|
|
3921
|
-
[throttle.ts:25](https://github.com/daysnap/utils/blob/
|
|
3951
|
+
[throttle.ts:25](https://github.com/daysnap/utils/blob/eebc05a/src/throttle.ts#L25)
|
|
3922
3952
|
|
|
3923
3953
|
___
|
|
3924
3954
|
|
|
@@ -3940,7 +3970,7 @@ ___
|
|
|
3940
3970
|
|
|
3941
3971
|
#### Defined in
|
|
3942
3972
|
|
|
3943
|
-
[toCDB.ts:4](https://github.com/daysnap/utils/blob/
|
|
3973
|
+
[toCDB.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/toCDB.ts#L4)
|
|
3944
3974
|
|
|
3945
3975
|
___
|
|
3946
3976
|
|
|
@@ -3962,7 +3992,7 @@ ___
|
|
|
3962
3992
|
|
|
3963
3993
|
#### Defined in
|
|
3964
3994
|
|
|
3965
|
-
[toDBC.ts:4](https://github.com/daysnap/utils/blob/
|
|
3995
|
+
[toDBC.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/toDBC.ts#L4)
|
|
3966
3996
|
|
|
3967
3997
|
___
|
|
3968
3998
|
|
|
@@ -3984,7 +4014,7 @@ ___
|
|
|
3984
4014
|
|
|
3985
4015
|
#### Defined in
|
|
3986
4016
|
|
|
3987
|
-
[toFormData.ts:4](https://github.com/daysnap/utils/blob/
|
|
4017
|
+
[toFormData.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/toFormData.ts#L4)
|
|
3988
4018
|
|
|
3989
4019
|
___
|
|
3990
4020
|
|
|
@@ -4006,7 +4036,7 @@ ___
|
|
|
4006
4036
|
|
|
4007
4037
|
#### Defined in
|
|
4008
4038
|
|
|
4009
|
-
[toPosix.ts:4](https://github.com/daysnap/utils/blob/
|
|
4039
|
+
[toPosix.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/toPosix.ts#L4)
|
|
4010
4040
|
|
|
4011
4041
|
___
|
|
4012
4042
|
|
|
@@ -4030,7 +4060,7 @@ ___
|
|
|
4030
4060
|
|
|
4031
4061
|
#### Defined in
|
|
4032
4062
|
|
|
4033
|
-
[typeOf.ts:6](https://github.com/daysnap/utils/blob/
|
|
4063
|
+
[typeOf.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/typeOf.ts#L6)
|
|
4034
4064
|
|
|
4035
4065
|
___
|
|
4036
4066
|
|
|
@@ -4058,7 +4088,7 @@ ___
|
|
|
4058
4088
|
|
|
4059
4089
|
#### Defined in
|
|
4060
4090
|
|
|
4061
|
-
[withCache.ts:4](https://github.com/daysnap/utils/blob/
|
|
4091
|
+
[withCache.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/withCache.ts#L4)
|
|
4062
4092
|
|
|
4063
4093
|
___
|
|
4064
4094
|
|
|
@@ -4087,4 +4117,4 @@ ___
|
|
|
4087
4117
|
|
|
4088
4118
|
#### Defined in
|
|
4089
4119
|
|
|
4090
|
-
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/
|
|
4120
|
+
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/withPreventConsecutiveClicks.ts#L4)
|