@daysnap/utils 0.1.28 → 0.1.29
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 +13 -13
- 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 +179 -156
- package/es/chunk-6CNTNYSN.js +8 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +4 -0
- package/es/toPosix.d.ts +6 -0
- package/es/toPosix.js +6 -0
- package/lib/chunk-EUL63MJO.cjs +8 -0
- package/lib/index.cjs +5 -1
- package/lib/index.d.cts +1 -0
- package/lib/toPosix.cjs +6 -0
- package/lib/toPosix.d.cts +6 -0
- package/package.json +1 -1
package/docs/modules.md
CHANGED
|
@@ -169,6 +169,7 @@
|
|
|
169
169
|
- [toCDB](modules.md#tocdb)
|
|
170
170
|
- [toDBC](modules.md#todbc)
|
|
171
171
|
- [toFormData](modules.md#toformdata)
|
|
172
|
+
- [toPosix](modules.md#toposix)
|
|
172
173
|
- [typeOf](modules.md#typeof)
|
|
173
174
|
- [withCache](modules.md#withcache)
|
|
174
175
|
- [withPreventConsecutiveClicks](modules.md#withpreventconsecutiveclicks)
|
|
@@ -195,7 +196,7 @@
|
|
|
195
196
|
|
|
196
197
|
#### Defined in
|
|
197
198
|
|
|
198
|
-
[poller.ts:7](https://github.com/daysnap/utils/blob/
|
|
199
|
+
[poller.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/poller.ts#L7)
|
|
199
200
|
|
|
200
201
|
## Variables
|
|
201
202
|
|
|
@@ -214,7 +215,7 @@
|
|
|
214
215
|
|
|
215
216
|
#### Defined in
|
|
216
217
|
|
|
217
|
-
[eventBus.ts:38](https://github.com/daysnap/utils/blob/
|
|
218
|
+
[eventBus.ts:38](https://github.com/daysnap/utils/blob/e7ac628/src/eventBus.ts#L38)
|
|
218
219
|
|
|
219
220
|
___
|
|
220
221
|
|
|
@@ -239,7 +240,7 @@ ___
|
|
|
239
240
|
|
|
240
241
|
#### Defined in
|
|
241
242
|
|
|
242
|
-
sounds.ts:13
|
|
243
|
+
[sounds.ts:13](https://github.com/daysnap/utils/blob/e7ac628/src/sounds.ts#L13)
|
|
243
244
|
|
|
244
245
|
___
|
|
245
246
|
|
|
@@ -249,7 +250,7 @@ ___
|
|
|
249
250
|
|
|
250
251
|
#### Defined in
|
|
251
252
|
|
|
252
|
-
[trap.ts:15](https://github.com/daysnap/utils/blob/
|
|
253
|
+
[trap.ts:15](https://github.com/daysnap/utils/blob/e7ac628/src/trap.ts#L15)
|
|
253
254
|
|
|
254
255
|
## Functions
|
|
255
256
|
|
|
@@ -287,7 +288,7 @@ res = { '1': '男', '2': '女' }
|
|
|
287
288
|
|
|
288
289
|
#### Defined in
|
|
289
290
|
|
|
290
|
-
[ato.ts:12](https://github.com/daysnap/utils/blob/
|
|
291
|
+
[ato.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/ato.ts#L12)
|
|
291
292
|
|
|
292
293
|
▸ **ato**<`T`, `K`, `V`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `T`[`V`]\>
|
|
293
294
|
|
|
@@ -313,7 +314,7 @@ res = { '1': '男', '2': '女' }
|
|
|
313
314
|
|
|
314
315
|
#### Defined in
|
|
315
316
|
|
|
316
|
-
[ato.ts:16](https://github.com/daysnap/utils/blob/
|
|
317
|
+
[ato.ts:16](https://github.com/daysnap/utils/blob/e7ac628/src/ato.ts#L16)
|
|
317
318
|
|
|
318
319
|
___
|
|
319
320
|
|
|
@@ -333,7 +334,7 @@ ___
|
|
|
333
334
|
|
|
334
335
|
#### Defined in
|
|
335
336
|
|
|
336
|
-
[decode.ts:41](https://github.com/daysnap/utils/blob/
|
|
337
|
+
[decode.ts:41](https://github.com/daysnap/utils/blob/e7ac628/src/decode.ts#L41)
|
|
337
338
|
|
|
338
339
|
___
|
|
339
340
|
|
|
@@ -356,7 +357,7 @@ base64 转 blob
|
|
|
356
357
|
|
|
357
358
|
#### Defined in
|
|
358
359
|
|
|
359
|
-
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/
|
|
360
|
+
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/base64ToBlob.ts#L6)
|
|
360
361
|
|
|
361
362
|
___
|
|
362
363
|
|
|
@@ -378,7 +379,7 @@ blob 转 base64
|
|
|
378
379
|
|
|
379
380
|
#### Defined in
|
|
380
381
|
|
|
381
|
-
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/
|
|
382
|
+
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/blobToBase64.ts#L4)
|
|
382
383
|
|
|
383
384
|
___
|
|
384
385
|
|
|
@@ -398,7 +399,7 @@ ___
|
|
|
398
399
|
|
|
399
400
|
#### Defined in
|
|
400
401
|
|
|
401
|
-
[decode.ts:8](https://github.com/daysnap/utils/blob/
|
|
402
|
+
[decode.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/decode.ts#L8)
|
|
402
403
|
|
|
403
404
|
___
|
|
404
405
|
|
|
@@ -439,7 +440,7 @@ ___
|
|
|
439
440
|
|
|
440
441
|
#### Defined in
|
|
441
442
|
|
|
442
|
-
[cached.ts:5](https://github.com/daysnap/utils/blob/
|
|
443
|
+
[cached.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/cached.ts#L5)
|
|
443
444
|
|
|
444
445
|
___
|
|
445
446
|
|
|
@@ -462,7 +463,7 @@ camelCase('hello-world') => helloWorld
|
|
|
462
463
|
|
|
463
464
|
#### Defined in
|
|
464
465
|
|
|
465
|
-
[camelCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
466
|
+
[camelCase.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/camelCase.ts#L5)
|
|
466
467
|
|
|
467
468
|
___
|
|
468
469
|
|
|
@@ -486,7 +487,7 @@ canvas 转 blob 文件
|
|
|
486
487
|
|
|
487
488
|
#### Defined in
|
|
488
489
|
|
|
489
|
-
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/
|
|
490
|
+
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/canvasToBlob.ts#L4)
|
|
490
491
|
|
|
491
492
|
___
|
|
492
493
|
|
|
@@ -509,7 +510,7 @@ capitalize('hello world') => Hello world
|
|
|
509
510
|
|
|
510
511
|
#### Defined in
|
|
511
512
|
|
|
512
|
-
[capitalize.ts:5](https://github.com/daysnap/utils/blob/
|
|
513
|
+
[capitalize.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/capitalize.ts#L5)
|
|
513
514
|
|
|
514
515
|
___
|
|
515
516
|
|
|
@@ -534,7 +535,7 @@ ___
|
|
|
534
535
|
|
|
535
536
|
#### Defined in
|
|
536
537
|
|
|
537
|
-
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/
|
|
538
|
+
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/chooseMedia.ts#L5)
|
|
538
539
|
|
|
539
540
|
___
|
|
540
541
|
|
|
@@ -558,7 +559,7 @@ ___
|
|
|
558
559
|
|
|
559
560
|
#### Defined in
|
|
560
561
|
|
|
561
|
-
[clamp.ts:7](https://github.com/daysnap/utils/blob/
|
|
562
|
+
[clamp.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/clamp.ts#L7)
|
|
562
563
|
|
|
563
564
|
___
|
|
564
565
|
|
|
@@ -586,7 +587,7 @@ ___
|
|
|
586
587
|
|
|
587
588
|
#### Defined in
|
|
588
589
|
|
|
589
|
-
[clone.ts:8](https://github.com/daysnap/utils/blob/
|
|
590
|
+
[clone.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/clone.ts#L8)
|
|
590
591
|
|
|
591
592
|
___
|
|
592
593
|
|
|
@@ -614,7 +615,7 @@ ___
|
|
|
614
615
|
|
|
615
616
|
#### Defined in
|
|
616
617
|
|
|
617
|
-
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/
|
|
618
|
+
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/cloneSimple.ts#L7)
|
|
618
619
|
|
|
619
620
|
___
|
|
620
621
|
|
|
@@ -636,7 +637,7 @@ ___
|
|
|
636
637
|
|
|
637
638
|
#### Defined in
|
|
638
639
|
|
|
639
|
-
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/
|
|
640
|
+
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/createHexColorByHash.ts#L4)
|
|
640
641
|
|
|
641
642
|
___
|
|
642
643
|
|
|
@@ -662,7 +663,7 @@ ___
|
|
|
662
663
|
|
|
663
664
|
#### Defined in
|
|
664
665
|
|
|
665
|
-
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/
|
|
666
|
+
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/e7ac628/src/compareVersion.ts#L9)
|
|
666
667
|
|
|
667
668
|
___
|
|
668
669
|
|
|
@@ -685,7 +686,7 @@ ___
|
|
|
685
686
|
|
|
686
687
|
#### Defined in
|
|
687
688
|
|
|
688
|
-
[compressImage.ts:4](https://github.com/daysnap/utils/blob/
|
|
689
|
+
[compressImage.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/compressImage.ts#L4)
|
|
689
690
|
|
|
690
691
|
___
|
|
691
692
|
|
|
@@ -707,7 +708,7 @@ ___
|
|
|
707
708
|
|
|
708
709
|
#### Defined in
|
|
709
710
|
|
|
710
|
-
[crToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
711
|
+
[crToBr.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/crToBr.ts#L4)
|
|
711
712
|
|
|
712
713
|
___
|
|
713
714
|
|
|
@@ -735,7 +736,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
|
|
|
735
736
|
|
|
736
737
|
#### Defined in
|
|
737
738
|
|
|
738
|
-
[createFactory.ts:4](https://github.com/daysnap/utils/blob/
|
|
739
|
+
[createFactory.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/createFactory.ts#L4)
|
|
739
740
|
|
|
740
741
|
___
|
|
741
742
|
|
|
@@ -773,7 +774,7 @@ ___
|
|
|
773
774
|
|
|
774
775
|
#### Defined in
|
|
775
776
|
|
|
776
|
-
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/
|
|
777
|
+
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/e7ac628/src/createLinearFunction.ts#L9)
|
|
777
778
|
|
|
778
779
|
___
|
|
779
780
|
|
|
@@ -805,7 +806,7 @@ ___
|
|
|
805
806
|
|
|
806
807
|
#### Defined in
|
|
807
808
|
|
|
808
|
-
[trap.ts:49](https://github.com/daysnap/utils/blob/
|
|
809
|
+
[trap.ts:49](https://github.com/daysnap/utils/blob/e7ac628/src/trap.ts#L49)
|
|
809
810
|
|
|
810
811
|
___
|
|
811
812
|
|
|
@@ -868,7 +869,7 @@ fn() 执行的时候就会执行showLoading
|
|
|
868
869
|
|
|
869
870
|
#### Defined in
|
|
870
871
|
|
|
871
|
-
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/
|
|
872
|
+
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/createWithLoading.ts#L11)
|
|
872
873
|
|
|
873
874
|
___
|
|
874
875
|
|
|
@@ -890,7 +891,7 @@ ___
|
|
|
890
891
|
|
|
891
892
|
#### Defined in
|
|
892
893
|
|
|
893
|
-
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
894
|
+
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/crlfToBr.ts#L4)
|
|
894
895
|
|
|
895
896
|
___
|
|
896
897
|
|
|
@@ -933,7 +934,7 @@ ___
|
|
|
933
934
|
|
|
934
935
|
#### Defined in
|
|
935
936
|
|
|
936
|
-
[debounce.ts:5](https://github.com/daysnap/utils/blob/
|
|
937
|
+
[debounce.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/debounce.ts#L5)
|
|
937
938
|
|
|
938
939
|
___
|
|
939
940
|
|
|
@@ -957,7 +958,7 @@ ___
|
|
|
957
958
|
|
|
958
959
|
#### Defined in
|
|
959
960
|
|
|
960
|
-
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/
|
|
961
|
+
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/downloadFile.ts#L4)
|
|
961
962
|
|
|
962
963
|
___
|
|
963
964
|
|
|
@@ -986,7 +987,7 @@ ___
|
|
|
986
987
|
|
|
987
988
|
#### Defined in
|
|
988
989
|
|
|
989
|
-
[each.ts:4](https://github.com/daysnap/utils/blob/
|
|
990
|
+
[each.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/each.ts#L4)
|
|
990
991
|
|
|
991
992
|
▸ **each**<`T`\>(`data`, `callback`): `void`
|
|
992
993
|
|
|
@@ -1009,7 +1010,7 @@ ___
|
|
|
1009
1010
|
|
|
1010
1011
|
#### Defined in
|
|
1011
1012
|
|
|
1012
|
-
[each.ts:8](https://github.com/daysnap/utils/blob/
|
|
1013
|
+
[each.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/each.ts#L8)
|
|
1013
1014
|
|
|
1014
1015
|
___
|
|
1015
1016
|
|
|
@@ -1027,7 +1028,7 @@ ___
|
|
|
1027
1028
|
|
|
1028
1029
|
#### Defined in
|
|
1029
1030
|
|
|
1030
|
-
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
1031
|
+
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/exitFullscreen.ts#L6)
|
|
1031
1032
|
|
|
1032
1033
|
___
|
|
1033
1034
|
|
|
@@ -1056,7 +1057,7 @@ ___
|
|
|
1056
1057
|
|
|
1057
1058
|
#### Defined in
|
|
1058
1059
|
|
|
1059
|
-
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/
|
|
1060
|
+
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/storage/factory.ts#L11)
|
|
1060
1061
|
|
|
1061
1062
|
___
|
|
1062
1063
|
|
|
@@ -1078,7 +1079,7 @@ ___
|
|
|
1078
1079
|
|
|
1079
1080
|
#### Defined in
|
|
1080
1081
|
|
|
1081
|
-
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1082
|
+
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/filterBankCardNo.ts#L4)
|
|
1082
1083
|
|
|
1083
1084
|
___
|
|
1084
1085
|
|
|
@@ -1108,7 +1109,7 @@ ___
|
|
|
1108
1109
|
|
|
1109
1110
|
#### Defined in
|
|
1110
1111
|
|
|
1111
|
-
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/
|
|
1112
|
+
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/crlfToBr.ts#L12)
|
|
1112
1113
|
|
|
1113
1114
|
___
|
|
1114
1115
|
|
|
@@ -1130,7 +1131,7 @@ ___
|
|
|
1130
1131
|
|
|
1131
1132
|
#### Defined in
|
|
1132
1133
|
|
|
1133
|
-
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/
|
|
1134
|
+
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/filterEmoji.ts#L4)
|
|
1134
1135
|
|
|
1135
1136
|
___
|
|
1136
1137
|
|
|
@@ -1153,7 +1154,7 @@ ___
|
|
|
1153
1154
|
|
|
1154
1155
|
#### Defined in
|
|
1155
1156
|
|
|
1156
|
-
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/
|
|
1157
|
+
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/filterEmptyValue.ts#L12)
|
|
1157
1158
|
|
|
1158
1159
|
___
|
|
1159
1160
|
|
|
@@ -1176,7 +1177,7 @@ ___
|
|
|
1176
1177
|
|
|
1177
1178
|
#### Defined in
|
|
1178
1179
|
|
|
1179
|
-
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/
|
|
1180
|
+
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/filterIdCard.ts#L5)
|
|
1180
1181
|
|
|
1181
1182
|
___
|
|
1182
1183
|
|
|
@@ -1198,7 +1199,7 @@ ___
|
|
|
1198
1199
|
|
|
1199
1200
|
#### Defined in
|
|
1200
1201
|
|
|
1201
|
-
[filterName.ts:4](https://github.com/daysnap/utils/blob/
|
|
1202
|
+
[filterName.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/filterName.ts#L4)
|
|
1202
1203
|
|
|
1203
1204
|
___
|
|
1204
1205
|
|
|
@@ -1223,7 +1224,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
|
|
|
1223
1224
|
|
|
1224
1225
|
#### Defined in
|
|
1225
1226
|
|
|
1226
|
-
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/
|
|
1227
|
+
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/filterPhone.ts#L6)
|
|
1227
1228
|
|
|
1228
1229
|
___
|
|
1229
1230
|
|
|
@@ -1250,7 +1251,7 @@ str = '131****8888'
|
|
|
1250
1251
|
|
|
1251
1252
|
#### Defined in
|
|
1252
1253
|
|
|
1253
|
-
[filterString.ts:6](https://github.com/daysnap/utils/blob/
|
|
1254
|
+
[filterString.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/filterString.ts#L6)
|
|
1254
1255
|
|
|
1255
1256
|
___
|
|
1256
1257
|
|
|
@@ -1273,7 +1274,7 @@ ___
|
|
|
1273
1274
|
|
|
1274
1275
|
#### Defined in
|
|
1275
1276
|
|
|
1276
|
-
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/
|
|
1277
|
+
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/formatAmount.ts#L4)
|
|
1277
1278
|
|
|
1278
1279
|
___
|
|
1279
1280
|
|
|
@@ -1297,7 +1298,7 @@ ___
|
|
|
1297
1298
|
|
|
1298
1299
|
#### Defined in
|
|
1299
1300
|
|
|
1300
|
-
[formatDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1301
|
+
[formatDate.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/formatDate.ts#L7)
|
|
1301
1302
|
|
|
1302
1303
|
___
|
|
1303
1304
|
|
|
@@ -1328,7 +1329,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
|
|
|
1328
1329
|
|
|
1329
1330
|
#### Defined in
|
|
1330
1331
|
|
|
1331
|
-
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/
|
|
1332
|
+
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/formatDateStr.ts#L6)
|
|
1332
1333
|
|
|
1333
1334
|
___
|
|
1334
1335
|
|
|
@@ -1348,7 +1349,7 @@ ___
|
|
|
1348
1349
|
|
|
1349
1350
|
#### Defined in
|
|
1350
1351
|
|
|
1351
|
-
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/
|
|
1352
|
+
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/formartDateToZN.ts#L4)
|
|
1352
1353
|
|
|
1353
1354
|
___
|
|
1354
1355
|
|
|
@@ -1371,7 +1372,7 @@ ___
|
|
|
1371
1372
|
|
|
1372
1373
|
#### Defined in
|
|
1373
1374
|
|
|
1374
|
-
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/
|
|
1375
|
+
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/formatFileSize.ts#L4)
|
|
1375
1376
|
|
|
1376
1377
|
___
|
|
1377
1378
|
|
|
@@ -1394,7 +1395,7 @@ yyyyMMdd -> yyyy-MM-dd
|
|
|
1394
1395
|
|
|
1395
1396
|
#### Defined in
|
|
1396
1397
|
|
|
1397
|
-
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
1398
|
+
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/formatGapDate.ts#L4)
|
|
1398
1399
|
|
|
1399
1400
|
___
|
|
1400
1401
|
|
|
@@ -1419,7 +1420,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
|
|
|
1419
1420
|
|
|
1420
1421
|
#### Defined in
|
|
1421
1422
|
|
|
1422
|
-
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/
|
|
1423
|
+
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/formatMessage.ts#L11)
|
|
1423
1424
|
|
|
1424
1425
|
___
|
|
1425
1426
|
|
|
@@ -1451,7 +1452,7 @@ rest = { xxx: 1 }
|
|
|
1451
1452
|
|
|
1452
1453
|
#### Defined in
|
|
1453
1454
|
|
|
1454
|
-
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/
|
|
1455
|
+
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/formatPathParams.ts#L8)
|
|
1455
1456
|
|
|
1456
1457
|
___
|
|
1457
1458
|
|
|
@@ -1473,7 +1474,7 @@ ___
|
|
|
1473
1474
|
|
|
1474
1475
|
#### Defined in
|
|
1475
1476
|
|
|
1476
|
-
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/
|
|
1477
|
+
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getBlobByUrl.ts#L4)
|
|
1477
1478
|
|
|
1478
1479
|
___
|
|
1479
1480
|
|
|
@@ -1496,7 +1497,7 @@ ___
|
|
|
1496
1497
|
|
|
1497
1498
|
#### Defined in
|
|
1498
1499
|
|
|
1499
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1500
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/e7ac628/src/storage/index.ts#L10)
|
|
1500
1501
|
|
|
1501
1502
|
___
|
|
1502
1503
|
|
|
@@ -1519,7 +1520,7 @@ ___
|
|
|
1519
1520
|
|
|
1520
1521
|
#### Defined in
|
|
1521
1522
|
|
|
1522
|
-
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/
|
|
1523
|
+
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/getDateBoundsByMonths.ts#L8)
|
|
1523
1524
|
|
|
1524
1525
|
▸ **getDateBoundsByMonths**(`monthsCount`, `date`, `fmt`): [`string`, `string`]
|
|
1525
1526
|
|
|
@@ -1537,7 +1538,7 @@ ___
|
|
|
1537
1538
|
|
|
1538
1539
|
#### Defined in
|
|
1539
1540
|
|
|
1540
|
-
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/
|
|
1541
|
+
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/getDateBoundsByMonths.ts#L12)
|
|
1541
1542
|
|
|
1542
1543
|
___
|
|
1543
1544
|
|
|
@@ -1559,7 +1560,7 @@ ___
|
|
|
1559
1560
|
|
|
1560
1561
|
#### Defined in
|
|
1561
1562
|
|
|
1562
|
-
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/
|
|
1563
|
+
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getDayMillisecond.ts#L4)
|
|
1563
1564
|
|
|
1564
1565
|
___
|
|
1565
1566
|
|
|
@@ -1582,7 +1583,7 @@ ___
|
|
|
1582
1583
|
|
|
1583
1584
|
#### Defined in
|
|
1584
1585
|
|
|
1585
|
-
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/
|
|
1586
|
+
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getDaysOfMonth.ts#L4)
|
|
1586
1587
|
|
|
1587
1588
|
___
|
|
1588
1589
|
|
|
@@ -1605,7 +1606,7 @@ ___
|
|
|
1605
1606
|
|
|
1606
1607
|
#### Defined in
|
|
1607
1608
|
|
|
1608
|
-
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1609
|
+
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getImageInfo.ts#L4)
|
|
1609
1610
|
|
|
1610
1611
|
___
|
|
1611
1612
|
|
|
@@ -1628,7 +1629,7 @@ ___
|
|
|
1628
1629
|
|
|
1629
1630
|
#### Defined in
|
|
1630
1631
|
|
|
1631
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1632
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/e7ac628/src/storage/index.ts#L10)
|
|
1632
1633
|
|
|
1633
1634
|
___
|
|
1634
1635
|
|
|
@@ -1650,7 +1651,7 @@ ___
|
|
|
1650
1651
|
|
|
1651
1652
|
#### Defined in
|
|
1652
1653
|
|
|
1653
|
-
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1654
|
+
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getMonthBounds.ts#L7)
|
|
1654
1655
|
|
|
1655
1656
|
▸ **getMonthBounds**(`value`, `fmt`): [`string`, `string`]
|
|
1656
1657
|
|
|
@@ -1667,7 +1668,7 @@ ___
|
|
|
1667
1668
|
|
|
1668
1669
|
#### Defined in
|
|
1669
1670
|
|
|
1670
|
-
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/
|
|
1671
|
+
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/getMonthBounds.ts#L8)
|
|
1671
1672
|
|
|
1672
1673
|
___
|
|
1673
1674
|
|
|
@@ -1690,7 +1691,7 @@ ___
|
|
|
1690
1691
|
|
|
1691
1692
|
#### Defined in
|
|
1692
1693
|
|
|
1693
|
-
[getRandom.ts:7](https://github.com/daysnap/utils/blob/
|
|
1694
|
+
[getRandom.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getRandom.ts#L7)
|
|
1694
1695
|
|
|
1695
1696
|
___
|
|
1696
1697
|
|
|
@@ -1706,7 +1707,7 @@ ___
|
|
|
1706
1707
|
|
|
1707
1708
|
#### Defined in
|
|
1708
1709
|
|
|
1709
|
-
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/
|
|
1710
|
+
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getRandomColor.ts#L4)
|
|
1710
1711
|
|
|
1711
1712
|
___
|
|
1712
1713
|
|
|
@@ -1728,7 +1729,7 @@ ___
|
|
|
1728
1729
|
|
|
1729
1730
|
#### Defined in
|
|
1730
1731
|
|
|
1731
|
-
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/
|
|
1732
|
+
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getRandomNumber.ts#L7)
|
|
1732
1733
|
|
|
1733
1734
|
___
|
|
1734
1735
|
|
|
@@ -1751,7 +1752,7 @@ ___
|
|
|
1751
1752
|
|
|
1752
1753
|
#### Defined in
|
|
1753
1754
|
|
|
1754
|
-
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1755
|
+
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getRangeDate.ts#L7)
|
|
1755
1756
|
|
|
1756
1757
|
▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
|
|
1757
1758
|
|
|
@@ -1769,7 +1770,7 @@ ___
|
|
|
1769
1770
|
|
|
1770
1771
|
#### Defined in
|
|
1771
1772
|
|
|
1772
|
-
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/
|
|
1773
|
+
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/getRangeDate.ts#L11)
|
|
1773
1774
|
|
|
1774
1775
|
___
|
|
1775
1776
|
|
|
@@ -1785,7 +1786,7 @@ ___
|
|
|
1785
1786
|
|
|
1786
1787
|
#### Defined in
|
|
1787
1788
|
|
|
1788
|
-
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
1789
|
+
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getScrollTop.ts#L4)
|
|
1789
1790
|
|
|
1790
1791
|
___
|
|
1791
1792
|
|
|
@@ -1807,7 +1808,7 @@ ___
|
|
|
1807
1808
|
|
|
1808
1809
|
#### Defined in
|
|
1809
1810
|
|
|
1810
|
-
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1811
|
+
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getVideoInfo.ts#L4)
|
|
1811
1812
|
|
|
1812
1813
|
___
|
|
1813
1814
|
|
|
@@ -1830,7 +1831,7 @@ ___
|
|
|
1830
1831
|
|
|
1831
1832
|
#### Defined in
|
|
1832
1833
|
|
|
1833
|
-
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1834
|
+
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getWeekBounds.ts#L7)
|
|
1834
1835
|
|
|
1835
1836
|
▸ **getWeekBounds**(`value`, `sundayIsFirstDay`, `fmt`): [`string`, `string`]
|
|
1836
1837
|
|
|
@@ -1848,7 +1849,7 @@ ___
|
|
|
1848
1849
|
|
|
1849
1850
|
#### Defined in
|
|
1850
1851
|
|
|
1851
|
-
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/
|
|
1852
|
+
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/getWeekBounds.ts#L11)
|
|
1852
1853
|
|
|
1853
1854
|
___
|
|
1854
1855
|
|
|
@@ -1871,7 +1872,7 @@ ___
|
|
|
1871
1872
|
|
|
1872
1873
|
#### Defined in
|
|
1873
1874
|
|
|
1874
|
-
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/
|
|
1875
|
+
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/getWeekday.ts#L6)
|
|
1875
1876
|
|
|
1876
1877
|
___
|
|
1877
1878
|
|
|
@@ -1887,7 +1888,7 @@ ___
|
|
|
1887
1888
|
|
|
1888
1889
|
#### Defined in
|
|
1889
1890
|
|
|
1890
|
-
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/
|
|
1891
|
+
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/inBrowser.ts#L4)
|
|
1891
1892
|
|
|
1892
1893
|
___
|
|
1893
1894
|
|
|
@@ -1909,7 +1910,7 @@ ___
|
|
|
1909
1910
|
|
|
1910
1911
|
#### Defined in
|
|
1911
1912
|
|
|
1912
|
-
[insertLink.ts:4](https://github.com/daysnap/utils/blob/
|
|
1913
|
+
[insertLink.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/insertLink.ts#L4)
|
|
1913
1914
|
|
|
1914
1915
|
▸ **insertLink**(`href`, `callback`): `void`
|
|
1915
1916
|
|
|
@@ -1926,7 +1927,7 @@ ___
|
|
|
1926
1927
|
|
|
1927
1928
|
#### Defined in
|
|
1928
1929
|
|
|
1929
|
-
[insertLink.ts:5](https://github.com/daysnap/utils/blob/
|
|
1930
|
+
[insertLink.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/insertLink.ts#L5)
|
|
1930
1931
|
|
|
1931
1932
|
___
|
|
1932
1933
|
|
|
@@ -1948,7 +1949,7 @@ ___
|
|
|
1948
1949
|
|
|
1949
1950
|
#### Defined in
|
|
1950
1951
|
|
|
1951
|
-
[insertScript.ts:4](https://github.com/daysnap/utils/blob/
|
|
1952
|
+
[insertScript.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/insertScript.ts#L4)
|
|
1952
1953
|
|
|
1953
1954
|
▸ **insertScript**(`src`, `callback`): `void`
|
|
1954
1955
|
|
|
@@ -1965,7 +1966,7 @@ ___
|
|
|
1965
1966
|
|
|
1966
1967
|
#### Defined in
|
|
1967
1968
|
|
|
1968
|
-
[insertScript.ts:5](https://github.com/daysnap/utils/blob/
|
|
1969
|
+
[insertScript.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/insertScript.ts#L5)
|
|
1969
1970
|
|
|
1970
1971
|
___
|
|
1971
1972
|
|
|
@@ -1987,7 +1988,7 @@ ___
|
|
|
1987
1988
|
|
|
1988
1989
|
#### Defined in
|
|
1989
1990
|
|
|
1990
|
-
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/
|
|
1991
|
+
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/insertStyle.ts#L4)
|
|
1991
1992
|
|
|
1992
1993
|
___
|
|
1993
1994
|
|
|
@@ -2016,7 +2017,7 @@ isAmount('1.123') => false
|
|
|
2016
2017
|
|
|
2017
2018
|
#### Defined in
|
|
2018
2019
|
|
|
2019
|
-
[isAmount.ts:11](https://github.com/daysnap/utils/blob/
|
|
2020
|
+
[isAmount.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/isAmount.ts#L11)
|
|
2020
2021
|
|
|
2021
2022
|
___
|
|
2022
2023
|
|
|
@@ -2032,7 +2033,7 @@ ___
|
|
|
2032
2033
|
|
|
2033
2034
|
#### Defined in
|
|
2034
2035
|
|
|
2035
|
-
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/
|
|
2036
|
+
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isAndroid.ts#L4)
|
|
2036
2037
|
|
|
2037
2038
|
___
|
|
2038
2039
|
|
|
@@ -2056,7 +2057,7 @@ val is any[]
|
|
|
2056
2057
|
|
|
2057
2058
|
#### Defined in
|
|
2058
2059
|
|
|
2059
|
-
[isArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2060
|
+
[isArray.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isArray.ts#L6)
|
|
2060
2061
|
|
|
2061
2062
|
___
|
|
2062
2063
|
|
|
@@ -2078,7 +2079,7 @@ val is boolean
|
|
|
2078
2079
|
|
|
2079
2080
|
#### Defined in
|
|
2080
2081
|
|
|
2081
|
-
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/
|
|
2082
|
+
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isBoolean.ts#L5)
|
|
2082
2083
|
|
|
2083
2084
|
___
|
|
2084
2085
|
|
|
@@ -2100,7 +2101,7 @@ ___
|
|
|
2100
2101
|
|
|
2101
2102
|
#### Defined in
|
|
2102
2103
|
|
|
2103
|
-
[isChinese.ts:4](https://github.com/daysnap/utils/blob/
|
|
2104
|
+
[isChinese.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isChinese.ts#L4)
|
|
2104
2105
|
|
|
2105
2106
|
___
|
|
2106
2107
|
|
|
@@ -2122,7 +2123,7 @@ val is Date
|
|
|
2122
2123
|
|
|
2123
2124
|
#### Defined in
|
|
2124
2125
|
|
|
2125
|
-
[isDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
2126
|
+
[isDate.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isDate.ts#L4)
|
|
2126
2127
|
|
|
2127
2128
|
___
|
|
2128
2129
|
|
|
@@ -2144,7 +2145,7 @@ ___
|
|
|
2144
2145
|
|
|
2145
2146
|
#### Defined in
|
|
2146
2147
|
|
|
2147
|
-
[isEmail.ts:4](https://github.com/daysnap/utils/blob/
|
|
2148
|
+
[isEmail.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isEmail.ts#L4)
|
|
2148
2149
|
|
|
2149
2150
|
___
|
|
2150
2151
|
|
|
@@ -2166,7 +2167,7 @@ ___
|
|
|
2166
2167
|
|
|
2167
2168
|
#### Defined in
|
|
2168
2169
|
|
|
2169
|
-
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/
|
|
2170
|
+
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isEmpty.ts#L6)
|
|
2170
2171
|
|
|
2171
2172
|
___
|
|
2172
2173
|
|
|
@@ -2188,7 +2189,7 @@ ___
|
|
|
2188
2189
|
|
|
2189
2190
|
#### Defined in
|
|
2190
2191
|
|
|
2191
|
-
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2192
|
+
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isEmptyArray.ts#L6)
|
|
2192
2193
|
|
|
2193
2194
|
___
|
|
2194
2195
|
|
|
@@ -2210,7 +2211,7 @@ ___
|
|
|
2210
2211
|
|
|
2211
2212
|
#### Defined in
|
|
2212
2213
|
|
|
2213
|
-
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
2214
|
+
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isEmptyObject.ts#L5)
|
|
2214
2215
|
|
|
2215
2216
|
___
|
|
2216
2217
|
|
|
@@ -2232,7 +2233,7 @@ val is Error
|
|
|
2232
2233
|
|
|
2233
2234
|
#### Defined in
|
|
2234
2235
|
|
|
2235
|
-
[isError.ts:4](https://github.com/daysnap/utils/blob/
|
|
2236
|
+
[isError.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isError.ts#L4)
|
|
2236
2237
|
|
|
2237
2238
|
___
|
|
2238
2239
|
|
|
@@ -2254,7 +2255,7 @@ val is Function
|
|
|
2254
2255
|
|
|
2255
2256
|
#### Defined in
|
|
2256
2257
|
|
|
2257
|
-
[isFunction.ts:4](https://github.com/daysnap/utils/blob/
|
|
2258
|
+
[isFunction.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isFunction.ts#L4)
|
|
2258
2259
|
|
|
2259
2260
|
___
|
|
2260
2261
|
|
|
@@ -2272,7 +2273,7 @@ ___
|
|
|
2272
2273
|
|
|
2273
2274
|
#### Defined in
|
|
2274
2275
|
|
|
2275
|
-
[isIE.ts:6](https://github.com/daysnap/utils/blob/
|
|
2276
|
+
[isIE.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isIE.ts#L6)
|
|
2276
2277
|
|
|
2277
2278
|
___
|
|
2278
2279
|
|
|
@@ -2288,7 +2289,7 @@ ___
|
|
|
2288
2289
|
|
|
2289
2290
|
#### Defined in
|
|
2290
2291
|
|
|
2291
|
-
[isIOS.ts:4](https://github.com/daysnap/utils/blob/
|
|
2292
|
+
[isIOS.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isIOS.ts#L4)
|
|
2292
2293
|
|
|
2293
2294
|
___
|
|
2294
2295
|
|
|
@@ -2310,7 +2311,7 @@ ___
|
|
|
2310
2311
|
|
|
2311
2312
|
#### Defined in
|
|
2312
2313
|
|
|
2313
|
-
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/
|
|
2314
|
+
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isIdCard.ts#L4)
|
|
2314
2315
|
|
|
2315
2316
|
___
|
|
2316
2317
|
|
|
@@ -2332,7 +2333,7 @@ ___
|
|
|
2332
2333
|
|
|
2333
2334
|
#### Defined in
|
|
2334
2335
|
|
|
2335
|
-
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/
|
|
2336
|
+
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/isJSONString.ts#L7)
|
|
2336
2337
|
|
|
2337
2338
|
___
|
|
2338
2339
|
|
|
@@ -2354,7 +2355,7 @@ ___
|
|
|
2354
2355
|
|
|
2355
2356
|
#### Defined in
|
|
2356
2357
|
|
|
2357
|
-
[isLan.ts:5](https://github.com/daysnap/utils/blob/
|
|
2358
|
+
[isLan.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isLan.ts#L5)
|
|
2358
2359
|
|
|
2359
2360
|
___
|
|
2360
2361
|
|
|
@@ -2377,7 +2378,7 @@ ___
|
|
|
2377
2378
|
|
|
2378
2379
|
#### Defined in
|
|
2379
2380
|
|
|
2380
|
-
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/
|
|
2381
|
+
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isLeapYear.ts#L5)
|
|
2381
2382
|
|
|
2382
2383
|
___
|
|
2383
2384
|
|
|
@@ -2399,7 +2400,7 @@ ___
|
|
|
2399
2400
|
|
|
2400
2401
|
#### Defined in
|
|
2401
2402
|
|
|
2402
|
-
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/
|
|
2403
|
+
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isLicenseCode.ts#L5)
|
|
2403
2404
|
|
|
2404
2405
|
___
|
|
2405
2406
|
|
|
@@ -2415,7 +2416,7 @@ ___
|
|
|
2415
2416
|
|
|
2416
2417
|
#### Defined in
|
|
2417
2418
|
|
|
2418
|
-
[isMobile.ts:4](https://github.com/daysnap/utils/blob/
|
|
2419
|
+
[isMobile.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isMobile.ts#L4)
|
|
2419
2420
|
|
|
2420
2421
|
___
|
|
2421
2422
|
|
|
@@ -2438,7 +2439,7 @@ ___
|
|
|
2438
2439
|
|
|
2439
2440
|
#### Defined in
|
|
2440
2441
|
|
|
2441
|
-
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/
|
|
2442
|
+
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/isNativeFunction.ts#L7)
|
|
2442
2443
|
|
|
2443
2444
|
___
|
|
2444
2445
|
|
|
@@ -2460,7 +2461,7 @@ val is null
|
|
|
2460
2461
|
|
|
2461
2462
|
#### Defined in
|
|
2462
2463
|
|
|
2463
|
-
[isNull.ts:4](https://github.com/daysnap/utils/blob/
|
|
2464
|
+
[isNull.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isNull.ts#L4)
|
|
2464
2465
|
|
|
2465
2466
|
___
|
|
2466
2467
|
|
|
@@ -2482,7 +2483,7 @@ val is number
|
|
|
2482
2483
|
|
|
2483
2484
|
#### Defined in
|
|
2484
2485
|
|
|
2485
|
-
[isNumber.ts:5](https://github.com/daysnap/utils/blob/
|
|
2486
|
+
[isNumber.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isNumber.ts#L5)
|
|
2486
2487
|
|
|
2487
2488
|
___
|
|
2488
2489
|
|
|
@@ -2504,7 +2505,7 @@ val is Record<string, any\>
|
|
|
2504
2505
|
|
|
2505
2506
|
#### Defined in
|
|
2506
2507
|
|
|
2507
|
-
[isObject.ts:4](https://github.com/daysnap/utils/blob/
|
|
2508
|
+
[isObject.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isObject.ts#L4)
|
|
2508
2509
|
|
|
2509
2510
|
___
|
|
2510
2511
|
|
|
@@ -2526,7 +2527,7 @@ ___
|
|
|
2526
2527
|
|
|
2527
2528
|
#### Defined in
|
|
2528
2529
|
|
|
2529
|
-
[isPhone.ts:4](https://github.com/daysnap/utils/blob/
|
|
2530
|
+
[isPhone.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isPhone.ts#L4)
|
|
2530
2531
|
|
|
2531
2532
|
___
|
|
2532
2533
|
|
|
@@ -2554,7 +2555,7 @@ val is Promise<T\>
|
|
|
2554
2555
|
|
|
2555
2556
|
#### Defined in
|
|
2556
2557
|
|
|
2557
|
-
[isPromise.ts:4](https://github.com/daysnap/utils/blob/
|
|
2558
|
+
[isPromise.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isPromise.ts#L4)
|
|
2558
2559
|
|
|
2559
2560
|
___
|
|
2560
2561
|
|
|
@@ -2576,7 +2577,7 @@ val is RegExp
|
|
|
2576
2577
|
|
|
2577
2578
|
#### Defined in
|
|
2578
2579
|
|
|
2579
|
-
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/
|
|
2580
|
+
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isRegExp.ts#L4)
|
|
2580
2581
|
|
|
2581
2582
|
___
|
|
2582
2583
|
|
|
@@ -2598,7 +2599,7 @@ val is string
|
|
|
2598
2599
|
|
|
2599
2600
|
#### Defined in
|
|
2600
2601
|
|
|
2601
|
-
[isString.ts:4](https://github.com/daysnap/utils/blob/
|
|
2602
|
+
[isString.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isString.ts#L4)
|
|
2602
2603
|
|
|
2603
2604
|
___
|
|
2604
2605
|
|
|
@@ -2627,7 +2628,7 @@ val is T
|
|
|
2627
2628
|
|
|
2628
2629
|
#### Defined in
|
|
2629
2630
|
|
|
2630
|
-
[isType.ts:4](https://github.com/daysnap/utils/blob/
|
|
2631
|
+
[isType.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isType.ts#L4)
|
|
2631
2632
|
|
|
2632
2633
|
___
|
|
2633
2634
|
|
|
@@ -2649,7 +2650,7 @@ val is undefined
|
|
|
2649
2650
|
|
|
2650
2651
|
#### Defined in
|
|
2651
2652
|
|
|
2652
|
-
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/
|
|
2653
|
+
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isUndefined.ts#L4)
|
|
2653
2654
|
|
|
2654
2655
|
___
|
|
2655
2656
|
|
|
@@ -2693,7 +2694,7 @@ ___
|
|
|
2693
2694
|
|
|
2694
2695
|
#### Defined in
|
|
2695
2696
|
|
|
2696
|
-
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/
|
|
2697
|
+
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isValidDate.ts#L6)
|
|
2697
2698
|
|
|
2698
2699
|
___
|
|
2699
2700
|
|
|
@@ -2709,7 +2710,7 @@ ___
|
|
|
2709
2710
|
|
|
2710
2711
|
#### Defined in
|
|
2711
2712
|
|
|
2712
|
-
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/
|
|
2713
|
+
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isWeChat.ts#L4)
|
|
2713
2714
|
|
|
2714
2715
|
___
|
|
2715
2716
|
|
|
@@ -2726,7 +2727,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
|
|
|
2726
2727
|
|
|
2727
2728
|
#### Defined in
|
|
2728
2729
|
|
|
2729
|
-
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/
|
|
2730
|
+
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isWeChatMiniProgram.ts#L5)
|
|
2730
2731
|
|
|
2731
2732
|
___
|
|
2732
2733
|
|
|
@@ -2750,7 +2751,7 @@ ___
|
|
|
2750
2751
|
|
|
2751
2752
|
#### Defined in
|
|
2752
2753
|
|
|
2753
|
-
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/
|
|
2754
|
+
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/isWeChat.ts#L12)
|
|
2754
2755
|
|
|
2755
2756
|
___
|
|
2756
2757
|
|
|
@@ -2772,7 +2773,7 @@ val is Window
|
|
|
2772
2773
|
|
|
2773
2774
|
#### Defined in
|
|
2774
2775
|
|
|
2775
|
-
[isWindow.ts:5](https://github.com/daysnap/utils/blob/
|
|
2776
|
+
[isWindow.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isWindow.ts#L5)
|
|
2776
2777
|
|
|
2777
2778
|
___
|
|
2778
2779
|
|
|
@@ -2795,7 +2796,7 @@ kebabCase('helloWorld') => hello-world
|
|
|
2795
2796
|
|
|
2796
2797
|
#### Defined in
|
|
2797
2798
|
|
|
2798
|
-
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
2799
|
+
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/kebabCase.ts#L5)
|
|
2799
2800
|
|
|
2800
2801
|
___
|
|
2801
2802
|
|
|
@@ -2817,7 +2818,7 @@ ___
|
|
|
2817
2818
|
|
|
2818
2819
|
#### Defined in
|
|
2819
2820
|
|
|
2820
|
-
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
2821
|
+
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/lfToBr.ts#L4)
|
|
2821
2822
|
|
|
2822
2823
|
___
|
|
2823
2824
|
|
|
@@ -2839,7 +2840,7 @@ list 生成器,快速生成数据
|
|
|
2839
2840
|
|
|
2840
2841
|
#### Defined in
|
|
2841
2842
|
|
|
2842
|
-
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/
|
|
2843
|
+
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/listGenerator.ts#L5)
|
|
2843
2844
|
|
|
2844
2845
|
▸ **listGenerator**<`T`\>(`length`, `fn`): `T`[]
|
|
2845
2846
|
|
|
@@ -2862,7 +2863,7 @@ list 生成器,快速生成数据
|
|
|
2862
2863
|
|
|
2863
2864
|
#### Defined in
|
|
2864
2865
|
|
|
2865
|
-
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/
|
|
2866
|
+
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/listGenerator.ts#L6)
|
|
2866
2867
|
|
|
2867
2868
|
___
|
|
2868
2869
|
|
|
@@ -2882,7 +2883,7 @@ ___
|
|
|
2882
2883
|
|
|
2883
2884
|
#### Defined in
|
|
2884
2885
|
|
|
2885
|
-
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/
|
|
2886
|
+
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/e7ac628/src/makePhoneCall.ts#L1)
|
|
2886
2887
|
|
|
2887
2888
|
___
|
|
2888
2889
|
|
|
@@ -2907,7 +2908,7 @@ ___
|
|
|
2907
2908
|
|
|
2908
2909
|
#### Defined in
|
|
2909
2910
|
|
|
2910
|
-
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/
|
|
2911
|
+
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/e7ac628/src/mousewheel.ts#L22)
|
|
2911
2912
|
|
|
2912
2913
|
___
|
|
2913
2914
|
|
|
@@ -2923,7 +2924,7 @@ ___
|
|
|
2923
2924
|
|
|
2924
2925
|
#### Defined in
|
|
2925
2926
|
|
|
2926
|
-
[nf.ts:4](https://github.com/daysnap/utils/blob/
|
|
2927
|
+
[nf.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/nf.ts#L4)
|
|
2927
2928
|
|
|
2928
2929
|
___
|
|
2929
2930
|
|
|
@@ -2947,7 +2948,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
|
|
|
2947
2948
|
|
|
2948
2949
|
#### Defined in
|
|
2949
2950
|
|
|
2950
|
-
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/
|
|
2951
|
+
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/normalizeDate.ts#L8)
|
|
2951
2952
|
|
|
2952
2953
|
___
|
|
2953
2954
|
|
|
@@ -2969,7 +2970,7 @@ ___
|
|
|
2969
2970
|
|
|
2970
2971
|
#### Defined in
|
|
2971
2972
|
|
|
2972
|
-
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/
|
|
2973
|
+
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/normalizePath.ts#L4)
|
|
2973
2974
|
|
|
2974
2975
|
___
|
|
2975
2976
|
|
|
@@ -2991,7 +2992,7 @@ ___
|
|
|
2991
2992
|
|
|
2992
2993
|
#### Defined in
|
|
2993
2994
|
|
|
2994
|
-
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/
|
|
2995
|
+
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/numberToLetter.ts#L4)
|
|
2995
2996
|
|
|
2996
2997
|
___
|
|
2997
2998
|
|
|
@@ -3021,7 +3022,7 @@ ___
|
|
|
3021
3022
|
|
|
3022
3023
|
#### Defined in
|
|
3023
3024
|
|
|
3024
|
-
[omit.ts:4](https://github.com/daysnap/utils/blob/
|
|
3025
|
+
[omit.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/omit.ts#L4)
|
|
3025
3026
|
|
|
3026
3027
|
___
|
|
3027
3028
|
|
|
@@ -3052,7 +3053,7 @@ omitBy(object, isNumber);
|
|
|
3052
3053
|
|
|
3053
3054
|
#### Defined in
|
|
3054
3055
|
|
|
3055
|
-
[omitBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3056
|
+
[omitBy.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/omitBy.ts#L6)
|
|
3056
3057
|
|
|
3057
3058
|
___
|
|
3058
3059
|
|
|
@@ -3076,7 +3077,7 @@ ___
|
|
|
3076
3077
|
|
|
3077
3078
|
#### Defined in
|
|
3078
3079
|
|
|
3079
|
-
[padding.ts:7](https://github.com/daysnap/utils/blob/
|
|
3080
|
+
[padding.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/padding.ts#L7)
|
|
3080
3081
|
|
|
3081
3082
|
___
|
|
3082
3083
|
|
|
@@ -3102,7 +3103,7 @@ ___
|
|
|
3102
3103
|
|
|
3103
3104
|
#### Defined in
|
|
3104
3105
|
|
|
3105
|
-
[parseDate.ts:5](https://github.com/daysnap/utils/blob/
|
|
3106
|
+
[parseDate.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/parseDate.ts#L5)
|
|
3106
3107
|
|
|
3107
3108
|
___
|
|
3108
3109
|
|
|
@@ -3128,7 +3129,7 @@ ___
|
|
|
3128
3129
|
|
|
3129
3130
|
#### Defined in
|
|
3130
3131
|
|
|
3131
|
-
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/
|
|
3132
|
+
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/parseDecimalString.ts#L5)
|
|
3132
3133
|
|
|
3133
3134
|
___
|
|
3134
3135
|
|
|
@@ -3151,7 +3152,7 @@ ___
|
|
|
3151
3152
|
|
|
3152
3153
|
#### Defined in
|
|
3153
3154
|
|
|
3154
|
-
[parseError.ts:8](https://github.com/daysnap/utils/blob/
|
|
3155
|
+
[parseError.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/parseError.ts#L8)
|
|
3155
3156
|
|
|
3156
3157
|
___
|
|
3157
3158
|
|
|
@@ -3176,7 +3177,7 @@ x0123 => ''
|
|
|
3176
3177
|
|
|
3177
3178
|
#### Defined in
|
|
3178
3179
|
|
|
3179
|
-
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/
|
|
3180
|
+
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/parseNumberString.ts#L7)
|
|
3180
3181
|
|
|
3181
3182
|
___
|
|
3182
3183
|
|
|
@@ -3206,7 +3207,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
|
|
|
3206
3207
|
|
|
3207
3208
|
#### Defined in
|
|
3208
3209
|
|
|
3209
|
-
[parseObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
3210
|
+
[parseObject.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/parseObject.ts#L5)
|
|
3210
3211
|
|
|
3211
3212
|
___
|
|
3212
3213
|
|
|
@@ -3235,7 +3236,7 @@ ___
|
|
|
3235
3236
|
|
|
3236
3237
|
#### Defined in
|
|
3237
3238
|
|
|
3238
|
-
[parsePath.ts:6](https://github.com/daysnap/utils/blob/
|
|
3239
|
+
[parsePath.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/parsePath.ts#L6)
|
|
3239
3240
|
|
|
3240
3241
|
___
|
|
3241
3242
|
|
|
@@ -3258,7 +3259,7 @@ ___
|
|
|
3258
3259
|
|
|
3259
3260
|
#### Defined in
|
|
3260
3261
|
|
|
3261
|
-
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/
|
|
3262
|
+
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/parseQuery.ts#L8)
|
|
3262
3263
|
|
|
3263
3264
|
___
|
|
3264
3265
|
|
|
@@ -3288,7 +3289,7 @@ ___
|
|
|
3288
3289
|
|
|
3289
3290
|
#### Defined in
|
|
3290
3291
|
|
|
3291
|
-
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3292
|
+
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/parseQueryString.ts#L6)
|
|
3292
3293
|
|
|
3293
3294
|
___
|
|
3294
3295
|
|
|
@@ -3311,7 +3312,7 @@ pascalCase('hello-world') => HelloWorld
|
|
|
3311
3312
|
|
|
3312
3313
|
#### Defined in
|
|
3313
3314
|
|
|
3314
|
-
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/
|
|
3315
|
+
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/pascalCase.ts#L8)
|
|
3315
3316
|
|
|
3316
3317
|
___
|
|
3317
3318
|
|
|
@@ -3341,7 +3342,7 @@ ___
|
|
|
3341
3342
|
|
|
3342
3343
|
#### Defined in
|
|
3343
3344
|
|
|
3344
|
-
[pick.ts:4](https://github.com/daysnap/utils/blob/
|
|
3345
|
+
[pick.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/pick.ts#L4)
|
|
3345
3346
|
|
|
3346
3347
|
___
|
|
3347
3348
|
|
|
@@ -3372,7 +3373,7 @@ pickBy(object, isNumber);
|
|
|
3372
3373
|
|
|
3373
3374
|
#### Defined in
|
|
3374
3375
|
|
|
3375
|
-
[pickBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3376
|
+
[pickBy.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/pickBy.ts#L6)
|
|
3376
3377
|
|
|
3377
3378
|
___
|
|
3378
3379
|
|
|
@@ -3395,7 +3396,7 @@ ___
|
|
|
3395
3396
|
|
|
3396
3397
|
#### Defined in
|
|
3397
3398
|
|
|
3398
|
-
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3399
|
+
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/replaceCrlf.ts#L4)
|
|
3399
3400
|
|
|
3400
3401
|
___
|
|
3401
3402
|
|
|
@@ -3419,7 +3420,7 @@ ___
|
|
|
3419
3420
|
|
|
3420
3421
|
#### Defined in
|
|
3421
3422
|
|
|
3422
|
-
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
3423
|
+
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/requestFullScreen.ts#L6)
|
|
3423
3424
|
|
|
3424
3425
|
___
|
|
3425
3426
|
|
|
@@ -3445,7 +3446,7 @@ reserve(0, '--') => 0
|
|
|
3445
3446
|
|
|
3446
3447
|
#### Defined in
|
|
3447
3448
|
|
|
3448
|
-
[reserve.ts:8](https://github.com/daysnap/utils/blob/
|
|
3449
|
+
[reserve.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/reserve.ts#L8)
|
|
3449
3450
|
|
|
3450
3451
|
___
|
|
3451
3452
|
|
|
@@ -3469,7 +3470,7 @@ ___
|
|
|
3469
3470
|
|
|
3470
3471
|
#### Defined in
|
|
3471
3472
|
|
|
3472
|
-
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/
|
|
3473
|
+
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/rgbToHex.ts#L4)
|
|
3473
3474
|
|
|
3474
3475
|
___
|
|
3475
3476
|
|
|
@@ -3492,7 +3493,7 @@ ___
|
|
|
3492
3493
|
|
|
3493
3494
|
#### Defined in
|
|
3494
3495
|
|
|
3495
|
-
[round.ts:6](https://github.com/daysnap/utils/blob/
|
|
3496
|
+
[round.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/round.ts#L6)
|
|
3496
3497
|
|
|
3497
3498
|
___
|
|
3498
3499
|
|
|
@@ -3517,7 +3518,7 @@ ___
|
|
|
3517
3518
|
|
|
3518
3519
|
#### Defined in
|
|
3519
3520
|
|
|
3520
|
-
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/
|
|
3521
|
+
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/roundUpToNearestInteger.ts#L7)
|
|
3521
3522
|
|
|
3522
3523
|
___
|
|
3523
3524
|
|
|
@@ -3533,7 +3534,7 @@ ___
|
|
|
3533
3534
|
|
|
3534
3535
|
#### Defined in
|
|
3535
3536
|
|
|
3536
|
-
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3537
|
+
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/scrollToTop.ts#L4)
|
|
3537
3538
|
|
|
3538
3539
|
___
|
|
3539
3540
|
|
|
@@ -3555,7 +3556,7 @@ ___
|
|
|
3555
3556
|
|
|
3556
3557
|
#### Defined in
|
|
3557
3558
|
|
|
3558
|
-
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3559
|
+
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/setScrollTop.ts#L4)
|
|
3559
3560
|
|
|
3560
3561
|
___
|
|
3561
3562
|
|
|
@@ -3579,7 +3580,7 @@ ___
|
|
|
3579
3580
|
|
|
3580
3581
|
#### Defined in
|
|
3581
3582
|
|
|
3582
|
-
[sleep.ts:7](https://github.com/daysnap/utils/blob/
|
|
3583
|
+
[sleep.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/sleep.ts#L7)
|
|
3583
3584
|
|
|
3584
3585
|
___
|
|
3585
3586
|
|
|
@@ -3608,7 +3609,7 @@ ___
|
|
|
3608
3609
|
|
|
3609
3610
|
#### Defined in
|
|
3610
3611
|
|
|
3611
|
-
[splitArray.ts:4](https://github.com/daysnap/utils/blob/
|
|
3612
|
+
[splitArray.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/splitArray.ts#L4)
|
|
3612
3613
|
|
|
3613
3614
|
___
|
|
3614
3615
|
|
|
@@ -3631,7 +3632,7 @@ ___
|
|
|
3631
3632
|
|
|
3632
3633
|
#### Defined in
|
|
3633
3634
|
|
|
3634
|
-
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/
|
|
3635
|
+
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/stringTrim.ts#L6)
|
|
3635
3636
|
|
|
3636
3637
|
___
|
|
3637
3638
|
|
|
@@ -3653,7 +3654,7 @@ ___
|
|
|
3653
3654
|
|
|
3654
3655
|
#### Defined in
|
|
3655
3656
|
|
|
3656
|
-
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/
|
|
3657
|
+
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/stringifyQuery.ts#L7)
|
|
3657
3658
|
|
|
3658
3659
|
___
|
|
3659
3660
|
|
|
@@ -3677,7 +3678,7 @@ ___
|
|
|
3677
3678
|
|
|
3678
3679
|
#### Defined in
|
|
3679
3680
|
|
|
3680
|
-
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3681
|
+
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/stringifyQueryString.ts#L6)
|
|
3681
3682
|
|
|
3682
3683
|
___
|
|
3683
3684
|
|
|
@@ -3721,7 +3722,7 @@ ___
|
|
|
3721
3722
|
|
|
3722
3723
|
#### Defined in
|
|
3723
3724
|
|
|
3724
|
-
[throttle.ts:48](https://github.com/daysnap/utils/blob/
|
|
3725
|
+
[throttle.ts:48](https://github.com/daysnap/utils/blob/e7ac628/src/throttle.ts#L48)
|
|
3725
3726
|
|
|
3726
3727
|
___
|
|
3727
3728
|
|
|
@@ -3764,7 +3765,7 @@ ___
|
|
|
3764
3765
|
|
|
3765
3766
|
#### Defined in
|
|
3766
3767
|
|
|
3767
|
-
[throttle.ts:5](https://github.com/daysnap/utils/blob/
|
|
3768
|
+
[throttle.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/throttle.ts#L5)
|
|
3768
3769
|
|
|
3769
3770
|
___
|
|
3770
3771
|
|
|
@@ -3807,7 +3808,7 @@ ___
|
|
|
3807
3808
|
|
|
3808
3809
|
#### Defined in
|
|
3809
3810
|
|
|
3810
|
-
[throttle.ts:25](https://github.com/daysnap/utils/blob/
|
|
3811
|
+
[throttle.ts:25](https://github.com/daysnap/utils/blob/e7ac628/src/throttle.ts#L25)
|
|
3811
3812
|
|
|
3812
3813
|
___
|
|
3813
3814
|
|
|
@@ -3829,7 +3830,7 @@ ___
|
|
|
3829
3830
|
|
|
3830
3831
|
#### Defined in
|
|
3831
3832
|
|
|
3832
|
-
[toCDB.ts:4](https://github.com/daysnap/utils/blob/
|
|
3833
|
+
[toCDB.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/toCDB.ts#L4)
|
|
3833
3834
|
|
|
3834
3835
|
___
|
|
3835
3836
|
|
|
@@ -3851,7 +3852,7 @@ ___
|
|
|
3851
3852
|
|
|
3852
3853
|
#### Defined in
|
|
3853
3854
|
|
|
3854
|
-
[toDBC.ts:4](https://github.com/daysnap/utils/blob/
|
|
3855
|
+
[toDBC.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/toDBC.ts#L4)
|
|
3855
3856
|
|
|
3856
3857
|
___
|
|
3857
3858
|
|
|
@@ -3873,7 +3874,29 @@ ___
|
|
|
3873
3874
|
|
|
3874
3875
|
#### Defined in
|
|
3875
3876
|
|
|
3876
|
-
[toFormData.ts:4](https://github.com/daysnap/utils/blob/
|
|
3877
|
+
[toFormData.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/toFormData.ts#L4)
|
|
3878
|
+
|
|
3879
|
+
___
|
|
3880
|
+
|
|
3881
|
+
### toPosix
|
|
3882
|
+
|
|
3883
|
+
▸ **toPosix**(`value`): `string`
|
|
3884
|
+
|
|
3885
|
+
转换到 Posix 标准
|
|
3886
|
+
|
|
3887
|
+
#### Parameters
|
|
3888
|
+
|
|
3889
|
+
| Name | Type |
|
|
3890
|
+
| :------ | :------ |
|
|
3891
|
+
| `value` | `string` |
|
|
3892
|
+
|
|
3893
|
+
#### Returns
|
|
3894
|
+
|
|
3895
|
+
`string`
|
|
3896
|
+
|
|
3897
|
+
#### Defined in
|
|
3898
|
+
|
|
3899
|
+
toPosix.ts:4
|
|
3877
3900
|
|
|
3878
3901
|
___
|
|
3879
3902
|
|
|
@@ -3897,7 +3920,7 @@ ___
|
|
|
3897
3920
|
|
|
3898
3921
|
#### Defined in
|
|
3899
3922
|
|
|
3900
|
-
[typeOf.ts:6](https://github.com/daysnap/utils/blob/
|
|
3923
|
+
[typeOf.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/typeOf.ts#L6)
|
|
3901
3924
|
|
|
3902
3925
|
___
|
|
3903
3926
|
|
|
@@ -3925,7 +3948,7 @@ ___
|
|
|
3925
3948
|
|
|
3926
3949
|
#### Defined in
|
|
3927
3950
|
|
|
3928
|
-
[withCache.ts:4](https://github.com/daysnap/utils/blob/
|
|
3951
|
+
[withCache.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/withCache.ts#L4)
|
|
3929
3952
|
|
|
3930
3953
|
___
|
|
3931
3954
|
|
|
@@ -3954,4 +3977,4 @@ ___
|
|
|
3954
3977
|
|
|
3955
3978
|
#### Defined in
|
|
3956
3979
|
|
|
3957
|
-
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/
|
|
3980
|
+
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/withPreventConsecutiveClicks.ts#L4)
|