@daysnap/utils 0.1.34 → 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 +184 -161
- package/es/chunk-NREOYHN2.js +15 -0
- package/es/{chunk-NCFA5IXM.js → chunk-YV6HBRJQ.js} +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +21 -17
- package/es/isNumber.js +1 -1
- package/es/isNumeric.d.ts +7 -0
- package/es/isNumeric.js +6 -0
- package/lib/{chunk-OWRVHVPV.cjs → chunk-4PATLNPV.cjs} +1 -1
- package/lib/chunk-IG67SOMB.cjs +15 -0
- package/lib/index.cjs +17 -13
- package/lib/index.d.cts +1 -0
- package/lib/isNumber.cjs +2 -2
- package/lib/isNumeric.cjs +6 -0
- package/lib/isNumeric.d.cts +7 -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)
|
|
@@ -201,7 +202,7 @@
|
|
|
201
202
|
|
|
202
203
|
#### Defined in
|
|
203
204
|
|
|
204
|
-
[poller.ts:7](https://github.com/daysnap/utils/blob/
|
|
205
|
+
[poller.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/poller.ts#L7)
|
|
205
206
|
|
|
206
207
|
## Variables
|
|
207
208
|
|
|
@@ -220,7 +221,7 @@
|
|
|
220
221
|
|
|
221
222
|
#### Defined in
|
|
222
223
|
|
|
223
|
-
[eventBus.ts:38](https://github.com/daysnap/utils/blob/
|
|
224
|
+
[eventBus.ts:38](https://github.com/daysnap/utils/blob/38b3f70/src/eventBus.ts#L38)
|
|
224
225
|
|
|
225
226
|
___
|
|
226
227
|
|
|
@@ -245,7 +246,7 @@ ___
|
|
|
245
246
|
|
|
246
247
|
#### Defined in
|
|
247
248
|
|
|
248
|
-
[sounds.ts:13](https://github.com/daysnap/utils/blob/
|
|
249
|
+
[sounds.ts:13](https://github.com/daysnap/utils/blob/38b3f70/src/sounds.ts#L13)
|
|
249
250
|
|
|
250
251
|
___
|
|
251
252
|
|
|
@@ -255,7 +256,7 @@ ___
|
|
|
255
256
|
|
|
256
257
|
#### Defined in
|
|
257
258
|
|
|
258
|
-
[trap.ts:15](https://github.com/daysnap/utils/blob/
|
|
259
|
+
[trap.ts:15](https://github.com/daysnap/utils/blob/38b3f70/src/trap.ts#L15)
|
|
259
260
|
|
|
260
261
|
## Functions
|
|
261
262
|
|
|
@@ -293,7 +294,7 @@ res = { '1': '男', '2': '女' }
|
|
|
293
294
|
|
|
294
295
|
#### Defined in
|
|
295
296
|
|
|
296
|
-
[ato.ts:12](https://github.com/daysnap/utils/blob/
|
|
297
|
+
[ato.ts:12](https://github.com/daysnap/utils/blob/38b3f70/src/ato.ts#L12)
|
|
297
298
|
|
|
298
299
|
▸ **ato**<`T`, `K`, `V`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `T`[`V`]\>
|
|
299
300
|
|
|
@@ -319,7 +320,7 @@ res = { '1': '男', '2': '女' }
|
|
|
319
320
|
|
|
320
321
|
#### Defined in
|
|
321
322
|
|
|
322
|
-
[ato.ts:16](https://github.com/daysnap/utils/blob/
|
|
323
|
+
[ato.ts:16](https://github.com/daysnap/utils/blob/38b3f70/src/ato.ts#L16)
|
|
323
324
|
|
|
324
325
|
___
|
|
325
326
|
|
|
@@ -339,7 +340,7 @@ ___
|
|
|
339
340
|
|
|
340
341
|
#### Defined in
|
|
341
342
|
|
|
342
|
-
[decode.ts:41](https://github.com/daysnap/utils/blob/
|
|
343
|
+
[decode.ts:41](https://github.com/daysnap/utils/blob/38b3f70/src/decode.ts#L41)
|
|
343
344
|
|
|
344
345
|
___
|
|
345
346
|
|
|
@@ -362,7 +363,7 @@ base64 转 blob
|
|
|
362
363
|
|
|
363
364
|
#### Defined in
|
|
364
365
|
|
|
365
|
-
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/
|
|
366
|
+
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/base64ToBlob.ts#L6)
|
|
366
367
|
|
|
367
368
|
___
|
|
368
369
|
|
|
@@ -384,7 +385,7 @@ blob 转 base64
|
|
|
384
385
|
|
|
385
386
|
#### Defined in
|
|
386
387
|
|
|
387
|
-
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/
|
|
388
|
+
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/blobToBase64.ts#L4)
|
|
388
389
|
|
|
389
390
|
___
|
|
390
391
|
|
|
@@ -404,7 +405,7 @@ ___
|
|
|
404
405
|
|
|
405
406
|
#### Defined in
|
|
406
407
|
|
|
407
|
-
[decode.ts:8](https://github.com/daysnap/utils/blob/
|
|
408
|
+
[decode.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/decode.ts#L8)
|
|
408
409
|
|
|
409
410
|
___
|
|
410
411
|
|
|
@@ -445,7 +446,7 @@ ___
|
|
|
445
446
|
|
|
446
447
|
#### Defined in
|
|
447
448
|
|
|
448
|
-
[cached.ts:5](https://github.com/daysnap/utils/blob/
|
|
449
|
+
[cached.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/cached.ts#L5)
|
|
449
450
|
|
|
450
451
|
___
|
|
451
452
|
|
|
@@ -468,7 +469,7 @@ camelCase('hello-world') => helloWorld
|
|
|
468
469
|
|
|
469
470
|
#### Defined in
|
|
470
471
|
|
|
471
|
-
[camelCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
472
|
+
[camelCase.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/camelCase.ts#L5)
|
|
472
473
|
|
|
473
474
|
___
|
|
474
475
|
|
|
@@ -492,7 +493,7 @@ canvas 转 blob 文件
|
|
|
492
493
|
|
|
493
494
|
#### Defined in
|
|
494
495
|
|
|
495
|
-
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/
|
|
496
|
+
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/canvasToBlob.ts#L4)
|
|
496
497
|
|
|
497
498
|
___
|
|
498
499
|
|
|
@@ -515,7 +516,7 @@ capitalize('hello world') => Hello world
|
|
|
515
516
|
|
|
516
517
|
#### Defined in
|
|
517
518
|
|
|
518
|
-
[capitalize.ts:5](https://github.com/daysnap/utils/blob/
|
|
519
|
+
[capitalize.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/capitalize.ts#L5)
|
|
519
520
|
|
|
520
521
|
___
|
|
521
522
|
|
|
@@ -540,7 +541,7 @@ ___
|
|
|
540
541
|
|
|
541
542
|
#### Defined in
|
|
542
543
|
|
|
543
|
-
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/
|
|
544
|
+
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/chooseMedia.ts#L5)
|
|
544
545
|
|
|
545
546
|
___
|
|
546
547
|
|
|
@@ -564,7 +565,7 @@ ___
|
|
|
564
565
|
|
|
565
566
|
#### Defined in
|
|
566
567
|
|
|
567
|
-
[clamp.ts:7](https://github.com/daysnap/utils/blob/
|
|
568
|
+
[clamp.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/clamp.ts#L7)
|
|
568
569
|
|
|
569
570
|
___
|
|
570
571
|
|
|
@@ -592,7 +593,7 @@ ___
|
|
|
592
593
|
|
|
593
594
|
#### Defined in
|
|
594
595
|
|
|
595
|
-
[clone.ts:8](https://github.com/daysnap/utils/blob/
|
|
596
|
+
[clone.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/clone.ts#L8)
|
|
596
597
|
|
|
597
598
|
___
|
|
598
599
|
|
|
@@ -620,7 +621,7 @@ ___
|
|
|
620
621
|
|
|
621
622
|
#### Defined in
|
|
622
623
|
|
|
623
|
-
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/
|
|
624
|
+
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/cloneSimple.ts#L7)
|
|
624
625
|
|
|
625
626
|
___
|
|
626
627
|
|
|
@@ -642,7 +643,7 @@ ___
|
|
|
642
643
|
|
|
643
644
|
#### Defined in
|
|
644
645
|
|
|
645
|
-
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/
|
|
646
|
+
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/createHexColorByHash.ts#L4)
|
|
646
647
|
|
|
647
648
|
___
|
|
648
649
|
|
|
@@ -668,7 +669,7 @@ ___
|
|
|
668
669
|
|
|
669
670
|
#### Defined in
|
|
670
671
|
|
|
671
|
-
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/
|
|
672
|
+
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/38b3f70/src/compareVersion.ts#L9)
|
|
672
673
|
|
|
673
674
|
___
|
|
674
675
|
|
|
@@ -691,7 +692,7 @@ ___
|
|
|
691
692
|
|
|
692
693
|
#### Defined in
|
|
693
694
|
|
|
694
|
-
[compressImage.ts:4](https://github.com/daysnap/utils/blob/
|
|
695
|
+
[compressImage.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/compressImage.ts#L4)
|
|
695
696
|
|
|
696
697
|
___
|
|
697
698
|
|
|
@@ -713,7 +714,7 @@ ___
|
|
|
713
714
|
|
|
714
715
|
#### Defined in
|
|
715
716
|
|
|
716
|
-
[crToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
717
|
+
[crToBr.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/crToBr.ts#L4)
|
|
717
718
|
|
|
718
719
|
___
|
|
719
720
|
|
|
@@ -741,7 +742,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
|
|
|
741
742
|
|
|
742
743
|
#### Defined in
|
|
743
744
|
|
|
744
|
-
[createFactory.ts:4](https://github.com/daysnap/utils/blob/
|
|
745
|
+
[createFactory.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/createFactory.ts#L4)
|
|
745
746
|
|
|
746
747
|
___
|
|
747
748
|
|
|
@@ -779,7 +780,7 @@ ___
|
|
|
779
780
|
|
|
780
781
|
#### Defined in
|
|
781
782
|
|
|
782
|
-
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/
|
|
783
|
+
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/38b3f70/src/createLinearFunction.ts#L9)
|
|
783
784
|
|
|
784
785
|
___
|
|
785
786
|
|
|
@@ -811,7 +812,7 @@ ___
|
|
|
811
812
|
|
|
812
813
|
#### Defined in
|
|
813
814
|
|
|
814
|
-
[trap.ts:49](https://github.com/daysnap/utils/blob/
|
|
815
|
+
[trap.ts:49](https://github.com/daysnap/utils/blob/38b3f70/src/trap.ts#L49)
|
|
815
816
|
|
|
816
817
|
___
|
|
817
818
|
|
|
@@ -874,7 +875,7 @@ fn() 执行的时候就会执行showLoading
|
|
|
874
875
|
|
|
875
876
|
#### Defined in
|
|
876
877
|
|
|
877
|
-
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/
|
|
878
|
+
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/38b3f70/src/createWithLoading.ts#L11)
|
|
878
879
|
|
|
879
880
|
___
|
|
880
881
|
|
|
@@ -912,7 +913,7 @@ ___
|
|
|
912
913
|
|
|
913
914
|
#### Defined in
|
|
914
915
|
|
|
915
|
-
[createWithToast.ts:11](https://github.com/daysnap/utils/blob/
|
|
916
|
+
[createWithToast.ts:11](https://github.com/daysnap/utils/blob/38b3f70/src/createWithToast.ts#L11)
|
|
916
917
|
|
|
917
918
|
___
|
|
918
919
|
|
|
@@ -934,7 +935,7 @@ ___
|
|
|
934
935
|
|
|
935
936
|
#### Defined in
|
|
936
937
|
|
|
937
|
-
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
938
|
+
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/crlfToBr.ts#L4)
|
|
938
939
|
|
|
939
940
|
___
|
|
940
941
|
|
|
@@ -977,7 +978,7 @@ ___
|
|
|
977
978
|
|
|
978
979
|
#### Defined in
|
|
979
980
|
|
|
980
|
-
[debounce.ts:5](https://github.com/daysnap/utils/blob/
|
|
981
|
+
[debounce.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/debounce.ts#L5)
|
|
981
982
|
|
|
982
983
|
___
|
|
983
984
|
|
|
@@ -1001,7 +1002,7 @@ ___
|
|
|
1001
1002
|
|
|
1002
1003
|
#### Defined in
|
|
1003
1004
|
|
|
1004
|
-
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/
|
|
1005
|
+
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/downloadFile.ts#L4)
|
|
1005
1006
|
|
|
1006
1007
|
___
|
|
1007
1008
|
|
|
@@ -1030,7 +1031,7 @@ ___
|
|
|
1030
1031
|
|
|
1031
1032
|
#### Defined in
|
|
1032
1033
|
|
|
1033
|
-
[each.ts:4](https://github.com/daysnap/utils/blob/
|
|
1034
|
+
[each.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/each.ts#L4)
|
|
1034
1035
|
|
|
1035
1036
|
▸ **each**<`T`\>(`data`, `callback`): `void`
|
|
1036
1037
|
|
|
@@ -1053,7 +1054,7 @@ ___
|
|
|
1053
1054
|
|
|
1054
1055
|
#### Defined in
|
|
1055
1056
|
|
|
1056
|
-
[each.ts:8](https://github.com/daysnap/utils/blob/
|
|
1057
|
+
[each.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/each.ts#L8)
|
|
1057
1058
|
|
|
1058
1059
|
___
|
|
1059
1060
|
|
|
@@ -1071,7 +1072,7 @@ ___
|
|
|
1071
1072
|
|
|
1072
1073
|
#### Defined in
|
|
1073
1074
|
|
|
1074
|
-
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
1075
|
+
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/exitFullscreen.ts#L6)
|
|
1075
1076
|
|
|
1076
1077
|
___
|
|
1077
1078
|
|
|
@@ -1100,7 +1101,7 @@ ___
|
|
|
1100
1101
|
|
|
1101
1102
|
#### Defined in
|
|
1102
1103
|
|
|
1103
|
-
[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)
|
|
1104
1105
|
|
|
1105
1106
|
___
|
|
1106
1107
|
|
|
@@ -1122,7 +1123,7 @@ ___
|
|
|
1122
1123
|
|
|
1123
1124
|
#### Defined in
|
|
1124
1125
|
|
|
1125
|
-
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1126
|
+
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/filterBankCardNo.ts#L4)
|
|
1126
1127
|
|
|
1127
1128
|
___
|
|
1128
1129
|
|
|
@@ -1152,7 +1153,7 @@ ___
|
|
|
1152
1153
|
|
|
1153
1154
|
#### Defined in
|
|
1154
1155
|
|
|
1155
|
-
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/
|
|
1156
|
+
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/38b3f70/src/crlfToBr.ts#L12)
|
|
1156
1157
|
|
|
1157
1158
|
___
|
|
1158
1159
|
|
|
@@ -1174,7 +1175,7 @@ ___
|
|
|
1174
1175
|
|
|
1175
1176
|
#### Defined in
|
|
1176
1177
|
|
|
1177
|
-
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/
|
|
1178
|
+
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/filterEmoji.ts#L4)
|
|
1178
1179
|
|
|
1179
1180
|
___
|
|
1180
1181
|
|
|
@@ -1197,7 +1198,7 @@ ___
|
|
|
1197
1198
|
|
|
1198
1199
|
#### Defined in
|
|
1199
1200
|
|
|
1200
|
-
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/
|
|
1201
|
+
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/38b3f70/src/filterEmptyValue.ts#L12)
|
|
1201
1202
|
|
|
1202
1203
|
___
|
|
1203
1204
|
|
|
@@ -1220,7 +1221,7 @@ ___
|
|
|
1220
1221
|
|
|
1221
1222
|
#### Defined in
|
|
1222
1223
|
|
|
1223
|
-
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/
|
|
1224
|
+
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/filterIdCard.ts#L5)
|
|
1224
1225
|
|
|
1225
1226
|
___
|
|
1226
1227
|
|
|
@@ -1242,7 +1243,7 @@ ___
|
|
|
1242
1243
|
|
|
1243
1244
|
#### Defined in
|
|
1244
1245
|
|
|
1245
|
-
[filterName.ts:4](https://github.com/daysnap/utils/blob/
|
|
1246
|
+
[filterName.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/filterName.ts#L4)
|
|
1246
1247
|
|
|
1247
1248
|
___
|
|
1248
1249
|
|
|
@@ -1267,7 +1268,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
|
|
|
1267
1268
|
|
|
1268
1269
|
#### Defined in
|
|
1269
1270
|
|
|
1270
|
-
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/
|
|
1271
|
+
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/filterPhone.ts#L6)
|
|
1271
1272
|
|
|
1272
1273
|
___
|
|
1273
1274
|
|
|
@@ -1294,7 +1295,7 @@ str = '131****8888'
|
|
|
1294
1295
|
|
|
1295
1296
|
#### Defined in
|
|
1296
1297
|
|
|
1297
|
-
[filterString.ts:6](https://github.com/daysnap/utils/blob/
|
|
1298
|
+
[filterString.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/filterString.ts#L6)
|
|
1298
1299
|
|
|
1299
1300
|
___
|
|
1300
1301
|
|
|
@@ -1317,7 +1318,7 @@ ___
|
|
|
1317
1318
|
|
|
1318
1319
|
#### Defined in
|
|
1319
1320
|
|
|
1320
|
-
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/
|
|
1321
|
+
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/formatAmount.ts#L4)
|
|
1321
1322
|
|
|
1322
1323
|
___
|
|
1323
1324
|
|
|
@@ -1341,7 +1342,7 @@ ___
|
|
|
1341
1342
|
|
|
1342
1343
|
#### Defined in
|
|
1343
1344
|
|
|
1344
|
-
[formatDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1345
|
+
[formatDate.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/formatDate.ts#L7)
|
|
1345
1346
|
|
|
1346
1347
|
___
|
|
1347
1348
|
|
|
@@ -1372,7 +1373,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
|
|
|
1372
1373
|
|
|
1373
1374
|
#### Defined in
|
|
1374
1375
|
|
|
1375
|
-
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/
|
|
1376
|
+
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/formatDateStr.ts#L6)
|
|
1376
1377
|
|
|
1377
1378
|
___
|
|
1378
1379
|
|
|
@@ -1392,7 +1393,7 @@ ___
|
|
|
1392
1393
|
|
|
1393
1394
|
#### Defined in
|
|
1394
1395
|
|
|
1395
|
-
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/
|
|
1396
|
+
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/formartDateToZN.ts#L4)
|
|
1396
1397
|
|
|
1397
1398
|
___
|
|
1398
1399
|
|
|
@@ -1415,7 +1416,7 @@ ___
|
|
|
1415
1416
|
|
|
1416
1417
|
#### Defined in
|
|
1417
1418
|
|
|
1418
|
-
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/
|
|
1419
|
+
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/formatFileSize.ts#L4)
|
|
1419
1420
|
|
|
1420
1421
|
___
|
|
1421
1422
|
|
|
@@ -1438,7 +1439,7 @@ yyyyMMdd -> yyyy-MM-dd
|
|
|
1438
1439
|
|
|
1439
1440
|
#### Defined in
|
|
1440
1441
|
|
|
1441
|
-
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
1442
|
+
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/formatGapDate.ts#L4)
|
|
1442
1443
|
|
|
1443
1444
|
___
|
|
1444
1445
|
|
|
@@ -1463,7 +1464,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
|
|
|
1463
1464
|
|
|
1464
1465
|
#### Defined in
|
|
1465
1466
|
|
|
1466
|
-
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/
|
|
1467
|
+
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/38b3f70/src/formatMessage.ts#L11)
|
|
1467
1468
|
|
|
1468
1469
|
___
|
|
1469
1470
|
|
|
@@ -1495,7 +1496,7 @@ rest = { xxx: 1 }
|
|
|
1495
1496
|
|
|
1496
1497
|
#### Defined in
|
|
1497
1498
|
|
|
1498
|
-
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/
|
|
1499
|
+
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/formatPathParams.ts#L8)
|
|
1499
1500
|
|
|
1500
1501
|
___
|
|
1501
1502
|
|
|
@@ -1517,7 +1518,7 @@ ___
|
|
|
1517
1518
|
|
|
1518
1519
|
#### Defined in
|
|
1519
1520
|
|
|
1520
|
-
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/
|
|
1521
|
+
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/getBlobByUrl.ts#L4)
|
|
1521
1522
|
|
|
1522
1523
|
___
|
|
1523
1524
|
|
|
@@ -1540,7 +1541,7 @@ ___
|
|
|
1540
1541
|
|
|
1541
1542
|
#### Defined in
|
|
1542
1543
|
|
|
1543
|
-
[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)
|
|
1544
1545
|
|
|
1545
1546
|
___
|
|
1546
1547
|
|
|
@@ -1563,7 +1564,7 @@ ___
|
|
|
1563
1564
|
|
|
1564
1565
|
#### Defined in
|
|
1565
1566
|
|
|
1566
|
-
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/
|
|
1567
|
+
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/getDateBoundsByMonths.ts#L8)
|
|
1567
1568
|
|
|
1568
1569
|
▸ **getDateBoundsByMonths**(`monthsCount`, `date`, `fmt`): [`string`, `string`]
|
|
1569
1570
|
|
|
@@ -1581,7 +1582,7 @@ ___
|
|
|
1581
1582
|
|
|
1582
1583
|
#### Defined in
|
|
1583
1584
|
|
|
1584
|
-
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/
|
|
1585
|
+
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/38b3f70/src/getDateBoundsByMonths.ts#L12)
|
|
1585
1586
|
|
|
1586
1587
|
___
|
|
1587
1588
|
|
|
@@ -1603,7 +1604,7 @@ ___
|
|
|
1603
1604
|
|
|
1604
1605
|
#### Defined in
|
|
1605
1606
|
|
|
1606
|
-
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/
|
|
1607
|
+
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/getDayMillisecond.ts#L4)
|
|
1607
1608
|
|
|
1608
1609
|
___
|
|
1609
1610
|
|
|
@@ -1626,7 +1627,7 @@ ___
|
|
|
1626
1627
|
|
|
1627
1628
|
#### Defined in
|
|
1628
1629
|
|
|
1629
|
-
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/
|
|
1630
|
+
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/getDaysOfMonth.ts#L4)
|
|
1630
1631
|
|
|
1631
1632
|
___
|
|
1632
1633
|
|
|
@@ -1649,7 +1650,7 @@ ___
|
|
|
1649
1650
|
|
|
1650
1651
|
#### Defined in
|
|
1651
1652
|
|
|
1652
|
-
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1653
|
+
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/getImageInfo.ts#L4)
|
|
1653
1654
|
|
|
1654
1655
|
___
|
|
1655
1656
|
|
|
@@ -1672,7 +1673,7 @@ ___
|
|
|
1672
1673
|
|
|
1673
1674
|
#### Defined in
|
|
1674
1675
|
|
|
1675
|
-
[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)
|
|
1676
1677
|
|
|
1677
1678
|
___
|
|
1678
1679
|
|
|
@@ -1694,7 +1695,7 @@ ___
|
|
|
1694
1695
|
|
|
1695
1696
|
#### Defined in
|
|
1696
1697
|
|
|
1697
|
-
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1698
|
+
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/getMonthBounds.ts#L7)
|
|
1698
1699
|
|
|
1699
1700
|
▸ **getMonthBounds**(`value`, `fmt`): [`string`, `string`]
|
|
1700
1701
|
|
|
@@ -1711,7 +1712,7 @@ ___
|
|
|
1711
1712
|
|
|
1712
1713
|
#### Defined in
|
|
1713
1714
|
|
|
1714
|
-
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/
|
|
1715
|
+
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/getMonthBounds.ts#L8)
|
|
1715
1716
|
|
|
1716
1717
|
___
|
|
1717
1718
|
|
|
@@ -1734,7 +1735,7 @@ ___
|
|
|
1734
1735
|
|
|
1735
1736
|
#### Defined in
|
|
1736
1737
|
|
|
1737
|
-
[getRandom.ts:7](https://github.com/daysnap/utils/blob/
|
|
1738
|
+
[getRandom.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/getRandom.ts#L7)
|
|
1738
1739
|
|
|
1739
1740
|
___
|
|
1740
1741
|
|
|
@@ -1750,7 +1751,7 @@ ___
|
|
|
1750
1751
|
|
|
1751
1752
|
#### Defined in
|
|
1752
1753
|
|
|
1753
|
-
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/
|
|
1754
|
+
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/getRandomColor.ts#L4)
|
|
1754
1755
|
|
|
1755
1756
|
___
|
|
1756
1757
|
|
|
@@ -1772,7 +1773,7 @@ ___
|
|
|
1772
1773
|
|
|
1773
1774
|
#### Defined in
|
|
1774
1775
|
|
|
1775
|
-
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/
|
|
1776
|
+
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/getRandomNumber.ts#L7)
|
|
1776
1777
|
|
|
1777
1778
|
___
|
|
1778
1779
|
|
|
@@ -1795,7 +1796,7 @@ ___
|
|
|
1795
1796
|
|
|
1796
1797
|
#### Defined in
|
|
1797
1798
|
|
|
1798
|
-
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1799
|
+
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/getRangeDate.ts#L7)
|
|
1799
1800
|
|
|
1800
1801
|
▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
|
|
1801
1802
|
|
|
@@ -1813,7 +1814,7 @@ ___
|
|
|
1813
1814
|
|
|
1814
1815
|
#### Defined in
|
|
1815
1816
|
|
|
1816
|
-
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/
|
|
1817
|
+
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/38b3f70/src/getRangeDate.ts#L11)
|
|
1817
1818
|
|
|
1818
1819
|
___
|
|
1819
1820
|
|
|
@@ -1829,7 +1830,7 @@ ___
|
|
|
1829
1830
|
|
|
1830
1831
|
#### Defined in
|
|
1831
1832
|
|
|
1832
|
-
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
1833
|
+
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/getScrollTop.ts#L4)
|
|
1833
1834
|
|
|
1834
1835
|
___
|
|
1835
1836
|
|
|
@@ -1851,7 +1852,7 @@ ___
|
|
|
1851
1852
|
|
|
1852
1853
|
#### Defined in
|
|
1853
1854
|
|
|
1854
|
-
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1855
|
+
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/getVideoInfo.ts#L4)
|
|
1855
1856
|
|
|
1856
1857
|
___
|
|
1857
1858
|
|
|
@@ -1874,7 +1875,7 @@ ___
|
|
|
1874
1875
|
|
|
1875
1876
|
#### Defined in
|
|
1876
1877
|
|
|
1877
|
-
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1878
|
+
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/getWeekBounds.ts#L7)
|
|
1878
1879
|
|
|
1879
1880
|
▸ **getWeekBounds**(`value`, `sundayIsFirstDay`, `fmt`): [`string`, `string`]
|
|
1880
1881
|
|
|
@@ -1892,7 +1893,7 @@ ___
|
|
|
1892
1893
|
|
|
1893
1894
|
#### Defined in
|
|
1894
1895
|
|
|
1895
|
-
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/
|
|
1896
|
+
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/38b3f70/src/getWeekBounds.ts#L11)
|
|
1896
1897
|
|
|
1897
1898
|
___
|
|
1898
1899
|
|
|
@@ -1915,7 +1916,7 @@ ___
|
|
|
1915
1916
|
|
|
1916
1917
|
#### Defined in
|
|
1917
1918
|
|
|
1918
|
-
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/
|
|
1919
|
+
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/getWeekday.ts#L6)
|
|
1919
1920
|
|
|
1920
1921
|
___
|
|
1921
1922
|
|
|
@@ -1931,7 +1932,7 @@ ___
|
|
|
1931
1932
|
|
|
1932
1933
|
#### Defined in
|
|
1933
1934
|
|
|
1934
|
-
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/
|
|
1935
|
+
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/inBrowser.ts#L4)
|
|
1935
1936
|
|
|
1936
1937
|
___
|
|
1937
1938
|
|
|
@@ -1953,7 +1954,7 @@ ___
|
|
|
1953
1954
|
|
|
1954
1955
|
#### Defined in
|
|
1955
1956
|
|
|
1956
|
-
[insertLink.ts:4](https://github.com/daysnap/utils/blob/
|
|
1957
|
+
[insertLink.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/insertLink.ts#L4)
|
|
1957
1958
|
|
|
1958
1959
|
▸ **insertLink**(`href`, `callback`): `void`
|
|
1959
1960
|
|
|
@@ -1970,7 +1971,7 @@ ___
|
|
|
1970
1971
|
|
|
1971
1972
|
#### Defined in
|
|
1972
1973
|
|
|
1973
|
-
[insertLink.ts:5](https://github.com/daysnap/utils/blob/
|
|
1974
|
+
[insertLink.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/insertLink.ts#L5)
|
|
1974
1975
|
|
|
1975
1976
|
___
|
|
1976
1977
|
|
|
@@ -1992,7 +1993,7 @@ ___
|
|
|
1992
1993
|
|
|
1993
1994
|
#### Defined in
|
|
1994
1995
|
|
|
1995
|
-
[insertScript.ts:4](https://github.com/daysnap/utils/blob/
|
|
1996
|
+
[insertScript.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/insertScript.ts#L4)
|
|
1996
1997
|
|
|
1997
1998
|
▸ **insertScript**(`src`, `callback`): `void`
|
|
1998
1999
|
|
|
@@ -2009,7 +2010,7 @@ ___
|
|
|
2009
2010
|
|
|
2010
2011
|
#### Defined in
|
|
2011
2012
|
|
|
2012
|
-
[insertScript.ts:5](https://github.com/daysnap/utils/blob/
|
|
2013
|
+
[insertScript.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/insertScript.ts#L5)
|
|
2013
2014
|
|
|
2014
2015
|
___
|
|
2015
2016
|
|
|
@@ -2031,7 +2032,7 @@ ___
|
|
|
2031
2032
|
|
|
2032
2033
|
#### Defined in
|
|
2033
2034
|
|
|
2034
|
-
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/
|
|
2035
|
+
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/insertStyle.ts#L4)
|
|
2035
2036
|
|
|
2036
2037
|
___
|
|
2037
2038
|
|
|
@@ -2060,7 +2061,7 @@ isAmount('1.123') => false
|
|
|
2060
2061
|
|
|
2061
2062
|
#### Defined in
|
|
2062
2063
|
|
|
2063
|
-
[isAmount.ts:11](https://github.com/daysnap/utils/blob/
|
|
2064
|
+
[isAmount.ts:11](https://github.com/daysnap/utils/blob/38b3f70/src/isAmount.ts#L11)
|
|
2064
2065
|
|
|
2065
2066
|
___
|
|
2066
2067
|
|
|
@@ -2076,7 +2077,7 @@ ___
|
|
|
2076
2077
|
|
|
2077
2078
|
#### Defined in
|
|
2078
2079
|
|
|
2079
|
-
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/
|
|
2080
|
+
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isAndroid.ts#L4)
|
|
2080
2081
|
|
|
2081
2082
|
___
|
|
2082
2083
|
|
|
@@ -2106,7 +2107,7 @@ val is T[]
|
|
|
2106
2107
|
|
|
2107
2108
|
#### Defined in
|
|
2108
2109
|
|
|
2109
|
-
[isArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2110
|
+
[isArray.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/isArray.ts#L6)
|
|
2110
2111
|
|
|
2111
2112
|
___
|
|
2112
2113
|
|
|
@@ -2128,7 +2129,7 @@ val is boolean
|
|
|
2128
2129
|
|
|
2129
2130
|
#### Defined in
|
|
2130
2131
|
|
|
2131
|
-
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/
|
|
2132
|
+
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/isBoolean.ts#L5)
|
|
2132
2133
|
|
|
2133
2134
|
___
|
|
2134
2135
|
|
|
@@ -2150,7 +2151,7 @@ ___
|
|
|
2150
2151
|
|
|
2151
2152
|
#### Defined in
|
|
2152
2153
|
|
|
2153
|
-
[isChinese.ts:4](https://github.com/daysnap/utils/blob/
|
|
2154
|
+
[isChinese.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isChinese.ts#L4)
|
|
2154
2155
|
|
|
2155
2156
|
___
|
|
2156
2157
|
|
|
@@ -2172,7 +2173,7 @@ val is Date
|
|
|
2172
2173
|
|
|
2173
2174
|
#### Defined in
|
|
2174
2175
|
|
|
2175
|
-
[isDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
2176
|
+
[isDate.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isDate.ts#L4)
|
|
2176
2177
|
|
|
2177
2178
|
___
|
|
2178
2179
|
|
|
@@ -2194,7 +2195,7 @@ ___
|
|
|
2194
2195
|
|
|
2195
2196
|
#### Defined in
|
|
2196
2197
|
|
|
2197
|
-
[isEmail.ts:4](https://github.com/daysnap/utils/blob/
|
|
2198
|
+
[isEmail.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isEmail.ts#L4)
|
|
2198
2199
|
|
|
2199
2200
|
___
|
|
2200
2201
|
|
|
@@ -2216,7 +2217,7 @@ ___
|
|
|
2216
2217
|
|
|
2217
2218
|
#### Defined in
|
|
2218
2219
|
|
|
2219
|
-
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/
|
|
2220
|
+
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/isEmpty.ts#L6)
|
|
2220
2221
|
|
|
2221
2222
|
___
|
|
2222
2223
|
|
|
@@ -2238,7 +2239,7 @@ ___
|
|
|
2238
2239
|
|
|
2239
2240
|
#### Defined in
|
|
2240
2241
|
|
|
2241
|
-
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2242
|
+
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/isEmptyArray.ts#L6)
|
|
2242
2243
|
|
|
2243
2244
|
___
|
|
2244
2245
|
|
|
@@ -2260,7 +2261,7 @@ ___
|
|
|
2260
2261
|
|
|
2261
2262
|
#### Defined in
|
|
2262
2263
|
|
|
2263
|
-
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
2264
|
+
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/isEmptyObject.ts#L5)
|
|
2264
2265
|
|
|
2265
2266
|
___
|
|
2266
2267
|
|
|
@@ -2282,7 +2283,7 @@ val is Error
|
|
|
2282
2283
|
|
|
2283
2284
|
#### Defined in
|
|
2284
2285
|
|
|
2285
|
-
[isError.ts:4](https://github.com/daysnap/utils/blob/
|
|
2286
|
+
[isError.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isError.ts#L4)
|
|
2286
2287
|
|
|
2287
2288
|
___
|
|
2288
2289
|
|
|
@@ -2310,7 +2311,7 @@ val is T
|
|
|
2310
2311
|
|
|
2311
2312
|
#### Defined in
|
|
2312
2313
|
|
|
2313
|
-
[isFunction.ts:4](https://github.com/daysnap/utils/blob/
|
|
2314
|
+
[isFunction.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isFunction.ts#L4)
|
|
2314
2315
|
|
|
2315
2316
|
___
|
|
2316
2317
|
|
|
@@ -2328,7 +2329,7 @@ ___
|
|
|
2328
2329
|
|
|
2329
2330
|
#### Defined in
|
|
2330
2331
|
|
|
2331
|
-
[isIE.ts:6](https://github.com/daysnap/utils/blob/
|
|
2332
|
+
[isIE.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/isIE.ts#L6)
|
|
2332
2333
|
|
|
2333
2334
|
___
|
|
2334
2335
|
|
|
@@ -2344,7 +2345,7 @@ ___
|
|
|
2344
2345
|
|
|
2345
2346
|
#### Defined in
|
|
2346
2347
|
|
|
2347
|
-
[isIOS.ts:4](https://github.com/daysnap/utils/blob/
|
|
2348
|
+
[isIOS.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isIOS.ts#L4)
|
|
2348
2349
|
|
|
2349
2350
|
___
|
|
2350
2351
|
|
|
@@ -2366,7 +2367,7 @@ ___
|
|
|
2366
2367
|
|
|
2367
2368
|
#### Defined in
|
|
2368
2369
|
|
|
2369
|
-
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/
|
|
2370
|
+
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isIdCard.ts#L4)
|
|
2370
2371
|
|
|
2371
2372
|
___
|
|
2372
2373
|
|
|
@@ -2388,7 +2389,7 @@ ___
|
|
|
2388
2389
|
|
|
2389
2390
|
#### Defined in
|
|
2390
2391
|
|
|
2391
|
-
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/
|
|
2392
|
+
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/isJSONString.ts#L7)
|
|
2392
2393
|
|
|
2393
2394
|
___
|
|
2394
2395
|
|
|
@@ -2410,7 +2411,7 @@ ___
|
|
|
2410
2411
|
|
|
2411
2412
|
#### Defined in
|
|
2412
2413
|
|
|
2413
|
-
[isLan.ts:5](https://github.com/daysnap/utils/blob/
|
|
2414
|
+
[isLan.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/isLan.ts#L5)
|
|
2414
2415
|
|
|
2415
2416
|
___
|
|
2416
2417
|
|
|
@@ -2433,7 +2434,7 @@ ___
|
|
|
2433
2434
|
|
|
2434
2435
|
#### Defined in
|
|
2435
2436
|
|
|
2436
|
-
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/
|
|
2437
|
+
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/isLeapYear.ts#L5)
|
|
2437
2438
|
|
|
2438
2439
|
___
|
|
2439
2440
|
|
|
@@ -2455,7 +2456,7 @@ ___
|
|
|
2455
2456
|
|
|
2456
2457
|
#### Defined in
|
|
2457
2458
|
|
|
2458
|
-
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/
|
|
2459
|
+
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/isLicenseCode.ts#L5)
|
|
2459
2460
|
|
|
2460
2461
|
___
|
|
2461
2462
|
|
|
@@ -2471,7 +2472,7 @@ ___
|
|
|
2471
2472
|
|
|
2472
2473
|
#### Defined in
|
|
2473
2474
|
|
|
2474
|
-
[isMobile.ts:4](https://github.com/daysnap/utils/blob/
|
|
2475
|
+
[isMobile.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isMobile.ts#L4)
|
|
2475
2476
|
|
|
2476
2477
|
___
|
|
2477
2478
|
|
|
@@ -2494,7 +2495,7 @@ ___
|
|
|
2494
2495
|
|
|
2495
2496
|
#### Defined in
|
|
2496
2497
|
|
|
2497
|
-
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/
|
|
2498
|
+
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/isNativeFunction.ts#L7)
|
|
2498
2499
|
|
|
2499
2500
|
___
|
|
2500
2501
|
|
|
@@ -2516,7 +2517,7 @@ ___
|
|
|
2516
2517
|
|
|
2517
2518
|
#### Defined in
|
|
2518
2519
|
|
|
2519
|
-
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/
|
|
2520
|
+
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/isNotEmpty.ts#L5)
|
|
2520
2521
|
|
|
2521
2522
|
___
|
|
2522
2523
|
|
|
@@ -2538,7 +2539,7 @@ val is null
|
|
|
2538
2539
|
|
|
2539
2540
|
#### Defined in
|
|
2540
2541
|
|
|
2541
|
-
[isNull.ts:4](https://github.com/daysnap/utils/blob/
|
|
2542
|
+
[isNull.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isNull.ts#L4)
|
|
2542
2543
|
|
|
2543
2544
|
___
|
|
2544
2545
|
|
|
@@ -2560,7 +2561,29 @@ val is number
|
|
|
2560
2561
|
|
|
2561
2562
|
#### Defined in
|
|
2562
2563
|
|
|
2563
|
-
[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
|
|
2564
2587
|
|
|
2565
2588
|
___
|
|
2566
2589
|
|
|
@@ -2588,7 +2611,7 @@ val is T
|
|
|
2588
2611
|
|
|
2589
2612
|
#### Defined in
|
|
2590
2613
|
|
|
2591
|
-
[isObject.ts:4](https://github.com/daysnap/utils/blob/
|
|
2614
|
+
[isObject.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isObject.ts#L4)
|
|
2592
2615
|
|
|
2593
2616
|
___
|
|
2594
2617
|
|
|
@@ -2610,7 +2633,7 @@ ___
|
|
|
2610
2633
|
|
|
2611
2634
|
#### Defined in
|
|
2612
2635
|
|
|
2613
|
-
[isPhone.ts:4](https://github.com/daysnap/utils/blob/
|
|
2636
|
+
[isPhone.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isPhone.ts#L4)
|
|
2614
2637
|
|
|
2615
2638
|
___
|
|
2616
2639
|
|
|
@@ -2638,7 +2661,7 @@ val is Promise<T\>
|
|
|
2638
2661
|
|
|
2639
2662
|
#### Defined in
|
|
2640
2663
|
|
|
2641
|
-
[isPromise.ts:4](https://github.com/daysnap/utils/blob/
|
|
2664
|
+
[isPromise.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isPromise.ts#L4)
|
|
2642
2665
|
|
|
2643
2666
|
___
|
|
2644
2667
|
|
|
@@ -2666,7 +2689,7 @@ value is PromiseLike<T\>
|
|
|
2666
2689
|
|
|
2667
2690
|
#### Defined in
|
|
2668
2691
|
|
|
2669
|
-
[isPromiseLike.ts:4](https://github.com/daysnap/utils/blob/
|
|
2692
|
+
[isPromiseLike.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isPromiseLike.ts#L4)
|
|
2670
2693
|
|
|
2671
2694
|
___
|
|
2672
2695
|
|
|
@@ -2688,7 +2711,7 @@ val is RegExp
|
|
|
2688
2711
|
|
|
2689
2712
|
#### Defined in
|
|
2690
2713
|
|
|
2691
|
-
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/
|
|
2714
|
+
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isRegExp.ts#L4)
|
|
2692
2715
|
|
|
2693
2716
|
___
|
|
2694
2717
|
|
|
@@ -2710,7 +2733,7 @@ val is string
|
|
|
2710
2733
|
|
|
2711
2734
|
#### Defined in
|
|
2712
2735
|
|
|
2713
|
-
[isString.ts:4](https://github.com/daysnap/utils/blob/
|
|
2736
|
+
[isString.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isString.ts#L4)
|
|
2714
2737
|
|
|
2715
2738
|
___
|
|
2716
2739
|
|
|
@@ -2739,7 +2762,7 @@ val is T
|
|
|
2739
2762
|
|
|
2740
2763
|
#### Defined in
|
|
2741
2764
|
|
|
2742
|
-
[isType.ts:4](https://github.com/daysnap/utils/blob/
|
|
2765
|
+
[isType.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isType.ts#L4)
|
|
2743
2766
|
|
|
2744
2767
|
___
|
|
2745
2768
|
|
|
@@ -2761,7 +2784,7 @@ val is undefined
|
|
|
2761
2784
|
|
|
2762
2785
|
#### Defined in
|
|
2763
2786
|
|
|
2764
|
-
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/
|
|
2787
|
+
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isUndefined.ts#L4)
|
|
2765
2788
|
|
|
2766
2789
|
___
|
|
2767
2790
|
|
|
@@ -2805,7 +2828,7 @@ ___
|
|
|
2805
2828
|
|
|
2806
2829
|
#### Defined in
|
|
2807
2830
|
|
|
2808
|
-
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/
|
|
2831
|
+
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/isValidDate.ts#L6)
|
|
2809
2832
|
|
|
2810
2833
|
___
|
|
2811
2834
|
|
|
@@ -2821,7 +2844,7 @@ ___
|
|
|
2821
2844
|
|
|
2822
2845
|
#### Defined in
|
|
2823
2846
|
|
|
2824
|
-
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/
|
|
2847
|
+
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/isWeChat.ts#L4)
|
|
2825
2848
|
|
|
2826
2849
|
___
|
|
2827
2850
|
|
|
@@ -2838,7 +2861,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
|
|
|
2838
2861
|
|
|
2839
2862
|
#### Defined in
|
|
2840
2863
|
|
|
2841
|
-
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/
|
|
2864
|
+
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/isWeChatMiniProgram.ts#L5)
|
|
2842
2865
|
|
|
2843
2866
|
___
|
|
2844
2867
|
|
|
@@ -2862,7 +2885,7 @@ ___
|
|
|
2862
2885
|
|
|
2863
2886
|
#### Defined in
|
|
2864
2887
|
|
|
2865
|
-
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/
|
|
2888
|
+
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/38b3f70/src/isWeChat.ts#L12)
|
|
2866
2889
|
|
|
2867
2890
|
___
|
|
2868
2891
|
|
|
@@ -2884,7 +2907,7 @@ val is Window
|
|
|
2884
2907
|
|
|
2885
2908
|
#### Defined in
|
|
2886
2909
|
|
|
2887
|
-
[isWindow.ts:5](https://github.com/daysnap/utils/blob/
|
|
2910
|
+
[isWindow.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/isWindow.ts#L5)
|
|
2888
2911
|
|
|
2889
2912
|
___
|
|
2890
2913
|
|
|
@@ -2907,7 +2930,7 @@ kebabCase('helloWorld') => hello-world
|
|
|
2907
2930
|
|
|
2908
2931
|
#### Defined in
|
|
2909
2932
|
|
|
2910
|
-
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
2933
|
+
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/kebabCase.ts#L5)
|
|
2911
2934
|
|
|
2912
2935
|
___
|
|
2913
2936
|
|
|
@@ -2929,7 +2952,7 @@ ___
|
|
|
2929
2952
|
|
|
2930
2953
|
#### Defined in
|
|
2931
2954
|
|
|
2932
|
-
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
2955
|
+
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/lfToBr.ts#L4)
|
|
2933
2956
|
|
|
2934
2957
|
___
|
|
2935
2958
|
|
|
@@ -2951,7 +2974,7 @@ list 生成器,快速生成数据
|
|
|
2951
2974
|
|
|
2952
2975
|
#### Defined in
|
|
2953
2976
|
|
|
2954
|
-
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/
|
|
2977
|
+
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/listGenerator.ts#L5)
|
|
2955
2978
|
|
|
2956
2979
|
▸ **listGenerator**<`T`\>(`length`, `fn`): `T`[]
|
|
2957
2980
|
|
|
@@ -2974,7 +2997,7 @@ list 生成器,快速生成数据
|
|
|
2974
2997
|
|
|
2975
2998
|
#### Defined in
|
|
2976
2999
|
|
|
2977
|
-
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/
|
|
3000
|
+
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/listGenerator.ts#L6)
|
|
2978
3001
|
|
|
2979
3002
|
___
|
|
2980
3003
|
|
|
@@ -2994,7 +3017,7 @@ ___
|
|
|
2994
3017
|
|
|
2995
3018
|
#### Defined in
|
|
2996
3019
|
|
|
2997
|
-
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/
|
|
3020
|
+
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/38b3f70/src/makePhoneCall.ts#L1)
|
|
2998
3021
|
|
|
2999
3022
|
___
|
|
3000
3023
|
|
|
@@ -3023,7 +3046,7 @@ ___
|
|
|
3023
3046
|
|
|
3024
3047
|
#### Defined in
|
|
3025
3048
|
|
|
3026
|
-
merge.ts:6
|
|
3049
|
+
[merge.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/merge.ts#L6)
|
|
3027
3050
|
|
|
3028
3051
|
___
|
|
3029
3052
|
|
|
@@ -3048,7 +3071,7 @@ ___
|
|
|
3048
3071
|
|
|
3049
3072
|
#### Defined in
|
|
3050
3073
|
|
|
3051
|
-
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/
|
|
3074
|
+
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/38b3f70/src/mousewheel.ts#L22)
|
|
3052
3075
|
|
|
3053
3076
|
___
|
|
3054
3077
|
|
|
@@ -3064,7 +3087,7 @@ ___
|
|
|
3064
3087
|
|
|
3065
3088
|
#### Defined in
|
|
3066
3089
|
|
|
3067
|
-
[nf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3090
|
+
[nf.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/nf.ts#L4)
|
|
3068
3091
|
|
|
3069
3092
|
___
|
|
3070
3093
|
|
|
@@ -3088,7 +3111,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
|
|
|
3088
3111
|
|
|
3089
3112
|
#### Defined in
|
|
3090
3113
|
|
|
3091
|
-
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/
|
|
3114
|
+
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/normalizeDate.ts#L8)
|
|
3092
3115
|
|
|
3093
3116
|
___
|
|
3094
3117
|
|
|
@@ -3110,7 +3133,7 @@ ___
|
|
|
3110
3133
|
|
|
3111
3134
|
#### Defined in
|
|
3112
3135
|
|
|
3113
|
-
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/
|
|
3136
|
+
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/normalizePath.ts#L4)
|
|
3114
3137
|
|
|
3115
3138
|
___
|
|
3116
3139
|
|
|
@@ -3132,7 +3155,7 @@ ___
|
|
|
3132
3155
|
|
|
3133
3156
|
#### Defined in
|
|
3134
3157
|
|
|
3135
|
-
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/
|
|
3158
|
+
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/numberToLetter.ts#L4)
|
|
3136
3159
|
|
|
3137
3160
|
___
|
|
3138
3161
|
|
|
@@ -3162,7 +3185,7 @@ ___
|
|
|
3162
3185
|
|
|
3163
3186
|
#### Defined in
|
|
3164
3187
|
|
|
3165
|
-
[omit.ts:4](https://github.com/daysnap/utils/blob/
|
|
3188
|
+
[omit.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/omit.ts#L4)
|
|
3166
3189
|
|
|
3167
3190
|
___
|
|
3168
3191
|
|
|
@@ -3193,7 +3216,7 @@ omitBy(object, isNumber);
|
|
|
3193
3216
|
|
|
3194
3217
|
#### Defined in
|
|
3195
3218
|
|
|
3196
|
-
[omitBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3219
|
+
[omitBy.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/omitBy.ts#L6)
|
|
3197
3220
|
|
|
3198
3221
|
___
|
|
3199
3222
|
|
|
@@ -3217,7 +3240,7 @@ ___
|
|
|
3217
3240
|
|
|
3218
3241
|
#### Defined in
|
|
3219
3242
|
|
|
3220
|
-
[padding.ts:7](https://github.com/daysnap/utils/blob/
|
|
3243
|
+
[padding.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/padding.ts#L7)
|
|
3221
3244
|
|
|
3222
3245
|
___
|
|
3223
3246
|
|
|
@@ -3243,7 +3266,7 @@ ___
|
|
|
3243
3266
|
|
|
3244
3267
|
#### Defined in
|
|
3245
3268
|
|
|
3246
|
-
[parseDate.ts:5](https://github.com/daysnap/utils/blob/
|
|
3269
|
+
[parseDate.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/parseDate.ts#L5)
|
|
3247
3270
|
|
|
3248
3271
|
___
|
|
3249
3272
|
|
|
@@ -3269,7 +3292,7 @@ ___
|
|
|
3269
3292
|
|
|
3270
3293
|
#### Defined in
|
|
3271
3294
|
|
|
3272
|
-
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/
|
|
3295
|
+
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/parseDecimalString.ts#L5)
|
|
3273
3296
|
|
|
3274
3297
|
___
|
|
3275
3298
|
|
|
@@ -3292,7 +3315,7 @@ ___
|
|
|
3292
3315
|
|
|
3293
3316
|
#### Defined in
|
|
3294
3317
|
|
|
3295
|
-
[parseError.ts:8](https://github.com/daysnap/utils/blob/
|
|
3318
|
+
[parseError.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/parseError.ts#L8)
|
|
3296
3319
|
|
|
3297
3320
|
___
|
|
3298
3321
|
|
|
@@ -3317,7 +3340,7 @@ x0123 => ''
|
|
|
3317
3340
|
|
|
3318
3341
|
#### Defined in
|
|
3319
3342
|
|
|
3320
|
-
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/
|
|
3343
|
+
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/parseNumberString.ts#L7)
|
|
3321
3344
|
|
|
3322
3345
|
___
|
|
3323
3346
|
|
|
@@ -3347,7 +3370,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
|
|
|
3347
3370
|
|
|
3348
3371
|
#### Defined in
|
|
3349
3372
|
|
|
3350
|
-
[parseObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
3373
|
+
[parseObject.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/parseObject.ts#L5)
|
|
3351
3374
|
|
|
3352
3375
|
___
|
|
3353
3376
|
|
|
@@ -3376,7 +3399,7 @@ ___
|
|
|
3376
3399
|
|
|
3377
3400
|
#### Defined in
|
|
3378
3401
|
|
|
3379
|
-
[parsePath.ts:6](https://github.com/daysnap/utils/blob/
|
|
3402
|
+
[parsePath.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/parsePath.ts#L6)
|
|
3380
3403
|
|
|
3381
3404
|
___
|
|
3382
3405
|
|
|
@@ -3399,7 +3422,7 @@ ___
|
|
|
3399
3422
|
|
|
3400
3423
|
#### Defined in
|
|
3401
3424
|
|
|
3402
|
-
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/
|
|
3425
|
+
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/parseQuery.ts#L8)
|
|
3403
3426
|
|
|
3404
3427
|
___
|
|
3405
3428
|
|
|
@@ -3429,7 +3452,7 @@ ___
|
|
|
3429
3452
|
|
|
3430
3453
|
#### Defined in
|
|
3431
3454
|
|
|
3432
|
-
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3455
|
+
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/parseQueryString.ts#L6)
|
|
3433
3456
|
|
|
3434
3457
|
___
|
|
3435
3458
|
|
|
@@ -3452,7 +3475,7 @@ pascalCase('hello-world') => HelloWorld
|
|
|
3452
3475
|
|
|
3453
3476
|
#### Defined in
|
|
3454
3477
|
|
|
3455
|
-
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/
|
|
3478
|
+
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/pascalCase.ts#L8)
|
|
3456
3479
|
|
|
3457
3480
|
___
|
|
3458
3481
|
|
|
@@ -3482,7 +3505,7 @@ ___
|
|
|
3482
3505
|
|
|
3483
3506
|
#### Defined in
|
|
3484
3507
|
|
|
3485
|
-
[pick.ts:4](https://github.com/daysnap/utils/blob/
|
|
3508
|
+
[pick.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/pick.ts#L4)
|
|
3486
3509
|
|
|
3487
3510
|
___
|
|
3488
3511
|
|
|
@@ -3513,7 +3536,7 @@ pickBy(object, isNumber);
|
|
|
3513
3536
|
|
|
3514
3537
|
#### Defined in
|
|
3515
3538
|
|
|
3516
|
-
[pickBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3539
|
+
[pickBy.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/pickBy.ts#L6)
|
|
3517
3540
|
|
|
3518
3541
|
___
|
|
3519
3542
|
|
|
@@ -3536,7 +3559,7 @@ ___
|
|
|
3536
3559
|
|
|
3537
3560
|
#### Defined in
|
|
3538
3561
|
|
|
3539
|
-
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3562
|
+
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/replaceCrlf.ts#L4)
|
|
3540
3563
|
|
|
3541
3564
|
___
|
|
3542
3565
|
|
|
@@ -3560,7 +3583,7 @@ ___
|
|
|
3560
3583
|
|
|
3561
3584
|
#### Defined in
|
|
3562
3585
|
|
|
3563
|
-
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
3586
|
+
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/requestFullScreen.ts#L6)
|
|
3564
3587
|
|
|
3565
3588
|
___
|
|
3566
3589
|
|
|
@@ -3586,7 +3609,7 @@ reserve(0, '--') => 0
|
|
|
3586
3609
|
|
|
3587
3610
|
#### Defined in
|
|
3588
3611
|
|
|
3589
|
-
[reserve.ts:8](https://github.com/daysnap/utils/blob/
|
|
3612
|
+
[reserve.ts:8](https://github.com/daysnap/utils/blob/38b3f70/src/reserve.ts#L8)
|
|
3590
3613
|
|
|
3591
3614
|
___
|
|
3592
3615
|
|
|
@@ -3610,7 +3633,7 @@ ___
|
|
|
3610
3633
|
|
|
3611
3634
|
#### Defined in
|
|
3612
3635
|
|
|
3613
|
-
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/
|
|
3636
|
+
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/rgbToHex.ts#L4)
|
|
3614
3637
|
|
|
3615
3638
|
___
|
|
3616
3639
|
|
|
@@ -3633,7 +3656,7 @@ ___
|
|
|
3633
3656
|
|
|
3634
3657
|
#### Defined in
|
|
3635
3658
|
|
|
3636
|
-
[round.ts:6](https://github.com/daysnap/utils/blob/
|
|
3659
|
+
[round.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/round.ts#L6)
|
|
3637
3660
|
|
|
3638
3661
|
___
|
|
3639
3662
|
|
|
@@ -3658,7 +3681,7 @@ ___
|
|
|
3658
3681
|
|
|
3659
3682
|
#### Defined in
|
|
3660
3683
|
|
|
3661
|
-
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/
|
|
3684
|
+
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/roundUpToNearestInteger.ts#L7)
|
|
3662
3685
|
|
|
3663
3686
|
___
|
|
3664
3687
|
|
|
@@ -3674,7 +3697,7 @@ ___
|
|
|
3674
3697
|
|
|
3675
3698
|
#### Defined in
|
|
3676
3699
|
|
|
3677
|
-
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3700
|
+
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/scrollToTop.ts#L4)
|
|
3678
3701
|
|
|
3679
3702
|
___
|
|
3680
3703
|
|
|
@@ -3696,7 +3719,7 @@ ___
|
|
|
3696
3719
|
|
|
3697
3720
|
#### Defined in
|
|
3698
3721
|
|
|
3699
|
-
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3722
|
+
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/setScrollTop.ts#L4)
|
|
3700
3723
|
|
|
3701
3724
|
___
|
|
3702
3725
|
|
|
@@ -3720,7 +3743,7 @@ ___
|
|
|
3720
3743
|
|
|
3721
3744
|
#### Defined in
|
|
3722
3745
|
|
|
3723
|
-
[sleep.ts:7](https://github.com/daysnap/utils/blob/
|
|
3746
|
+
[sleep.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/sleep.ts#L7)
|
|
3724
3747
|
|
|
3725
3748
|
___
|
|
3726
3749
|
|
|
@@ -3749,7 +3772,7 @@ ___
|
|
|
3749
3772
|
|
|
3750
3773
|
#### Defined in
|
|
3751
3774
|
|
|
3752
|
-
[splitArray.ts:4](https://github.com/daysnap/utils/blob/
|
|
3775
|
+
[splitArray.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/splitArray.ts#L4)
|
|
3753
3776
|
|
|
3754
3777
|
___
|
|
3755
3778
|
|
|
@@ -3772,7 +3795,7 @@ ___
|
|
|
3772
3795
|
|
|
3773
3796
|
#### Defined in
|
|
3774
3797
|
|
|
3775
|
-
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/
|
|
3798
|
+
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/stringTrim.ts#L6)
|
|
3776
3799
|
|
|
3777
3800
|
___
|
|
3778
3801
|
|
|
@@ -3794,7 +3817,7 @@ ___
|
|
|
3794
3817
|
|
|
3795
3818
|
#### Defined in
|
|
3796
3819
|
|
|
3797
|
-
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/
|
|
3820
|
+
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/38b3f70/src/stringifyQuery.ts#L7)
|
|
3798
3821
|
|
|
3799
3822
|
___
|
|
3800
3823
|
|
|
@@ -3818,7 +3841,7 @@ ___
|
|
|
3818
3841
|
|
|
3819
3842
|
#### Defined in
|
|
3820
3843
|
|
|
3821
|
-
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3844
|
+
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/stringifyQueryString.ts#L6)
|
|
3822
3845
|
|
|
3823
3846
|
___
|
|
3824
3847
|
|
|
@@ -3862,7 +3885,7 @@ ___
|
|
|
3862
3885
|
|
|
3863
3886
|
#### Defined in
|
|
3864
3887
|
|
|
3865
|
-
[throttle.ts:48](https://github.com/daysnap/utils/blob/
|
|
3888
|
+
[throttle.ts:48](https://github.com/daysnap/utils/blob/38b3f70/src/throttle.ts#L48)
|
|
3866
3889
|
|
|
3867
3890
|
___
|
|
3868
3891
|
|
|
@@ -3905,7 +3928,7 @@ ___
|
|
|
3905
3928
|
|
|
3906
3929
|
#### Defined in
|
|
3907
3930
|
|
|
3908
|
-
[throttle.ts:5](https://github.com/daysnap/utils/blob/
|
|
3931
|
+
[throttle.ts:5](https://github.com/daysnap/utils/blob/38b3f70/src/throttle.ts#L5)
|
|
3909
3932
|
|
|
3910
3933
|
___
|
|
3911
3934
|
|
|
@@ -3948,7 +3971,7 @@ ___
|
|
|
3948
3971
|
|
|
3949
3972
|
#### Defined in
|
|
3950
3973
|
|
|
3951
|
-
[throttle.ts:25](https://github.com/daysnap/utils/blob/
|
|
3974
|
+
[throttle.ts:25](https://github.com/daysnap/utils/blob/38b3f70/src/throttle.ts#L25)
|
|
3952
3975
|
|
|
3953
3976
|
___
|
|
3954
3977
|
|
|
@@ -3970,7 +3993,7 @@ ___
|
|
|
3970
3993
|
|
|
3971
3994
|
#### Defined in
|
|
3972
3995
|
|
|
3973
|
-
[toCDB.ts:4](https://github.com/daysnap/utils/blob/
|
|
3996
|
+
[toCDB.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/toCDB.ts#L4)
|
|
3974
3997
|
|
|
3975
3998
|
___
|
|
3976
3999
|
|
|
@@ -3992,7 +4015,7 @@ ___
|
|
|
3992
4015
|
|
|
3993
4016
|
#### Defined in
|
|
3994
4017
|
|
|
3995
|
-
[toDBC.ts:4](https://github.com/daysnap/utils/blob/
|
|
4018
|
+
[toDBC.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/toDBC.ts#L4)
|
|
3996
4019
|
|
|
3997
4020
|
___
|
|
3998
4021
|
|
|
@@ -4014,7 +4037,7 @@ ___
|
|
|
4014
4037
|
|
|
4015
4038
|
#### Defined in
|
|
4016
4039
|
|
|
4017
|
-
[toFormData.ts:4](https://github.com/daysnap/utils/blob/
|
|
4040
|
+
[toFormData.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/toFormData.ts#L4)
|
|
4018
4041
|
|
|
4019
4042
|
___
|
|
4020
4043
|
|
|
@@ -4036,7 +4059,7 @@ ___
|
|
|
4036
4059
|
|
|
4037
4060
|
#### Defined in
|
|
4038
4061
|
|
|
4039
|
-
[toPosix.ts:4](https://github.com/daysnap/utils/blob/
|
|
4062
|
+
[toPosix.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/toPosix.ts#L4)
|
|
4040
4063
|
|
|
4041
4064
|
___
|
|
4042
4065
|
|
|
@@ -4060,7 +4083,7 @@ ___
|
|
|
4060
4083
|
|
|
4061
4084
|
#### Defined in
|
|
4062
4085
|
|
|
4063
|
-
[typeOf.ts:6](https://github.com/daysnap/utils/blob/
|
|
4086
|
+
[typeOf.ts:6](https://github.com/daysnap/utils/blob/38b3f70/src/typeOf.ts#L6)
|
|
4064
4087
|
|
|
4065
4088
|
___
|
|
4066
4089
|
|
|
@@ -4088,7 +4111,7 @@ ___
|
|
|
4088
4111
|
|
|
4089
4112
|
#### Defined in
|
|
4090
4113
|
|
|
4091
|
-
[withCache.ts:4](https://github.com/daysnap/utils/blob/
|
|
4114
|
+
[withCache.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/withCache.ts#L4)
|
|
4092
4115
|
|
|
4093
4116
|
___
|
|
4094
4117
|
|
|
@@ -4117,4 +4140,4 @@ ___
|
|
|
4117
4140
|
|
|
4118
4141
|
#### Defined in
|
|
4119
4142
|
|
|
4120
|
-
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/
|
|
4143
|
+
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/38b3f70/src/withPreventConsecutiveClicks.ts#L4)
|