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