@daysnap/utils 0.1.31 → 0.1.32
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/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 +187 -158
- package/es/chunk-P5GEZD4D.js +6 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +23 -19
- package/es/isPromiseLike.d.ts +6 -0
- package/es/isPromiseLike.js +6 -0
- package/lib/chunk-N455COPH.cjs +6 -0
- package/lib/index.cjs +21 -17
- package/lib/index.d.cts +1 -0
- package/lib/isPromiseLike.cjs +6 -0
- package/lib/isPromiseLike.d.cts +6 -0
- package/package.json +1 -1
package/docs/modules.md
CHANGED
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
- [isObject](modules.md#isobject)
|
|
119
119
|
- [isPhone](modules.md#isphone)
|
|
120
120
|
- [isPromise](modules.md#ispromise)
|
|
121
|
+
- [isPromiseLike](modules.md#ispromiselike)
|
|
121
122
|
- [isRegExp](modules.md#isregexp)
|
|
122
123
|
- [isString](modules.md#isstring)
|
|
123
124
|
- [isType](modules.md#istype)
|
|
@@ -197,7 +198,7 @@
|
|
|
197
198
|
|
|
198
199
|
#### Defined in
|
|
199
200
|
|
|
200
|
-
[poller.ts:7](https://github.com/daysnap/utils/blob/
|
|
201
|
+
[poller.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/poller.ts#L7)
|
|
201
202
|
|
|
202
203
|
## Variables
|
|
203
204
|
|
|
@@ -216,7 +217,7 @@
|
|
|
216
217
|
|
|
217
218
|
#### Defined in
|
|
218
219
|
|
|
219
|
-
[eventBus.ts:38](https://github.com/daysnap/utils/blob/
|
|
220
|
+
[eventBus.ts:38](https://github.com/daysnap/utils/blob/b171b07/src/eventBus.ts#L38)
|
|
220
221
|
|
|
221
222
|
___
|
|
222
223
|
|
|
@@ -241,7 +242,7 @@ ___
|
|
|
241
242
|
|
|
242
243
|
#### Defined in
|
|
243
244
|
|
|
244
|
-
[sounds.ts:13](https://github.com/daysnap/utils/blob/
|
|
245
|
+
[sounds.ts:13](https://github.com/daysnap/utils/blob/b171b07/src/sounds.ts#L13)
|
|
245
246
|
|
|
246
247
|
___
|
|
247
248
|
|
|
@@ -251,7 +252,7 @@ ___
|
|
|
251
252
|
|
|
252
253
|
#### Defined in
|
|
253
254
|
|
|
254
|
-
[trap.ts:15](https://github.com/daysnap/utils/blob/
|
|
255
|
+
[trap.ts:15](https://github.com/daysnap/utils/blob/b171b07/src/trap.ts#L15)
|
|
255
256
|
|
|
256
257
|
## Functions
|
|
257
258
|
|
|
@@ -289,7 +290,7 @@ res = { '1': '男', '2': '女' }
|
|
|
289
290
|
|
|
290
291
|
#### Defined in
|
|
291
292
|
|
|
292
|
-
[ato.ts:12](https://github.com/daysnap/utils/blob/
|
|
293
|
+
[ato.ts:12](https://github.com/daysnap/utils/blob/b171b07/src/ato.ts#L12)
|
|
293
294
|
|
|
294
295
|
▸ **ato**<`T`, `K`, `V`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `T`[`V`]\>
|
|
295
296
|
|
|
@@ -315,7 +316,7 @@ res = { '1': '男', '2': '女' }
|
|
|
315
316
|
|
|
316
317
|
#### Defined in
|
|
317
318
|
|
|
318
|
-
[ato.ts:16](https://github.com/daysnap/utils/blob/
|
|
319
|
+
[ato.ts:16](https://github.com/daysnap/utils/blob/b171b07/src/ato.ts#L16)
|
|
319
320
|
|
|
320
321
|
___
|
|
321
322
|
|
|
@@ -335,7 +336,7 @@ ___
|
|
|
335
336
|
|
|
336
337
|
#### Defined in
|
|
337
338
|
|
|
338
|
-
[decode.ts:41](https://github.com/daysnap/utils/blob/
|
|
339
|
+
[decode.ts:41](https://github.com/daysnap/utils/blob/b171b07/src/decode.ts#L41)
|
|
339
340
|
|
|
340
341
|
___
|
|
341
342
|
|
|
@@ -358,7 +359,7 @@ base64 转 blob
|
|
|
358
359
|
|
|
359
360
|
#### Defined in
|
|
360
361
|
|
|
361
|
-
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/
|
|
362
|
+
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/base64ToBlob.ts#L6)
|
|
362
363
|
|
|
363
364
|
___
|
|
364
365
|
|
|
@@ -380,7 +381,7 @@ blob 转 base64
|
|
|
380
381
|
|
|
381
382
|
#### Defined in
|
|
382
383
|
|
|
383
|
-
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/
|
|
384
|
+
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/blobToBase64.ts#L4)
|
|
384
385
|
|
|
385
386
|
___
|
|
386
387
|
|
|
@@ -400,7 +401,7 @@ ___
|
|
|
400
401
|
|
|
401
402
|
#### Defined in
|
|
402
403
|
|
|
403
|
-
[decode.ts:8](https://github.com/daysnap/utils/blob/
|
|
404
|
+
[decode.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/decode.ts#L8)
|
|
404
405
|
|
|
405
406
|
___
|
|
406
407
|
|
|
@@ -441,7 +442,7 @@ ___
|
|
|
441
442
|
|
|
442
443
|
#### Defined in
|
|
443
444
|
|
|
444
|
-
[cached.ts:5](https://github.com/daysnap/utils/blob/
|
|
445
|
+
[cached.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/cached.ts#L5)
|
|
445
446
|
|
|
446
447
|
___
|
|
447
448
|
|
|
@@ -464,7 +465,7 @@ camelCase('hello-world') => helloWorld
|
|
|
464
465
|
|
|
465
466
|
#### Defined in
|
|
466
467
|
|
|
467
|
-
[camelCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
468
|
+
[camelCase.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/camelCase.ts#L5)
|
|
468
469
|
|
|
469
470
|
___
|
|
470
471
|
|
|
@@ -488,7 +489,7 @@ canvas 转 blob 文件
|
|
|
488
489
|
|
|
489
490
|
#### Defined in
|
|
490
491
|
|
|
491
|
-
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/
|
|
492
|
+
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/canvasToBlob.ts#L4)
|
|
492
493
|
|
|
493
494
|
___
|
|
494
495
|
|
|
@@ -511,7 +512,7 @@ capitalize('hello world') => Hello world
|
|
|
511
512
|
|
|
512
513
|
#### Defined in
|
|
513
514
|
|
|
514
|
-
[capitalize.ts:5](https://github.com/daysnap/utils/blob/
|
|
515
|
+
[capitalize.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/capitalize.ts#L5)
|
|
515
516
|
|
|
516
517
|
___
|
|
517
518
|
|
|
@@ -536,7 +537,7 @@ ___
|
|
|
536
537
|
|
|
537
538
|
#### Defined in
|
|
538
539
|
|
|
539
|
-
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/
|
|
540
|
+
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/chooseMedia.ts#L5)
|
|
540
541
|
|
|
541
542
|
___
|
|
542
543
|
|
|
@@ -560,7 +561,7 @@ ___
|
|
|
560
561
|
|
|
561
562
|
#### Defined in
|
|
562
563
|
|
|
563
|
-
[clamp.ts:7](https://github.com/daysnap/utils/blob/
|
|
564
|
+
[clamp.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/clamp.ts#L7)
|
|
564
565
|
|
|
565
566
|
___
|
|
566
567
|
|
|
@@ -588,7 +589,7 @@ ___
|
|
|
588
589
|
|
|
589
590
|
#### Defined in
|
|
590
591
|
|
|
591
|
-
[clone.ts:8](https://github.com/daysnap/utils/blob/
|
|
592
|
+
[clone.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/clone.ts#L8)
|
|
592
593
|
|
|
593
594
|
___
|
|
594
595
|
|
|
@@ -616,7 +617,7 @@ ___
|
|
|
616
617
|
|
|
617
618
|
#### Defined in
|
|
618
619
|
|
|
619
|
-
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/
|
|
620
|
+
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/cloneSimple.ts#L7)
|
|
620
621
|
|
|
621
622
|
___
|
|
622
623
|
|
|
@@ -638,7 +639,7 @@ ___
|
|
|
638
639
|
|
|
639
640
|
#### Defined in
|
|
640
641
|
|
|
641
|
-
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/
|
|
642
|
+
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/createHexColorByHash.ts#L4)
|
|
642
643
|
|
|
643
644
|
___
|
|
644
645
|
|
|
@@ -664,7 +665,7 @@ ___
|
|
|
664
665
|
|
|
665
666
|
#### Defined in
|
|
666
667
|
|
|
667
|
-
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/
|
|
668
|
+
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/b171b07/src/compareVersion.ts#L9)
|
|
668
669
|
|
|
669
670
|
___
|
|
670
671
|
|
|
@@ -687,7 +688,7 @@ ___
|
|
|
687
688
|
|
|
688
689
|
#### Defined in
|
|
689
690
|
|
|
690
|
-
[compressImage.ts:4](https://github.com/daysnap/utils/blob/
|
|
691
|
+
[compressImage.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/compressImage.ts#L4)
|
|
691
692
|
|
|
692
693
|
___
|
|
693
694
|
|
|
@@ -709,7 +710,7 @@ ___
|
|
|
709
710
|
|
|
710
711
|
#### Defined in
|
|
711
712
|
|
|
712
|
-
[crToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
713
|
+
[crToBr.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/crToBr.ts#L4)
|
|
713
714
|
|
|
714
715
|
___
|
|
715
716
|
|
|
@@ -737,7 +738,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
|
|
|
737
738
|
|
|
738
739
|
#### Defined in
|
|
739
740
|
|
|
740
|
-
[createFactory.ts:4](https://github.com/daysnap/utils/blob/
|
|
741
|
+
[createFactory.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/createFactory.ts#L4)
|
|
741
742
|
|
|
742
743
|
___
|
|
743
744
|
|
|
@@ -775,7 +776,7 @@ ___
|
|
|
775
776
|
|
|
776
777
|
#### Defined in
|
|
777
778
|
|
|
778
|
-
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/
|
|
779
|
+
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/b171b07/src/createLinearFunction.ts#L9)
|
|
779
780
|
|
|
780
781
|
___
|
|
781
782
|
|
|
@@ -807,7 +808,7 @@ ___
|
|
|
807
808
|
|
|
808
809
|
#### Defined in
|
|
809
810
|
|
|
810
|
-
[trap.ts:49](https://github.com/daysnap/utils/blob/
|
|
811
|
+
[trap.ts:49](https://github.com/daysnap/utils/blob/b171b07/src/trap.ts#L49)
|
|
811
812
|
|
|
812
813
|
___
|
|
813
814
|
|
|
@@ -870,7 +871,7 @@ fn() 执行的时候就会执行showLoading
|
|
|
870
871
|
|
|
871
872
|
#### Defined in
|
|
872
873
|
|
|
873
|
-
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/
|
|
874
|
+
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/b171b07/src/createWithLoading.ts#L11)
|
|
874
875
|
|
|
875
876
|
___
|
|
876
877
|
|
|
@@ -892,7 +893,7 @@ ___
|
|
|
892
893
|
|
|
893
894
|
#### Defined in
|
|
894
895
|
|
|
895
|
-
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
896
|
+
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/crlfToBr.ts#L4)
|
|
896
897
|
|
|
897
898
|
___
|
|
898
899
|
|
|
@@ -935,7 +936,7 @@ ___
|
|
|
935
936
|
|
|
936
937
|
#### Defined in
|
|
937
938
|
|
|
938
|
-
[debounce.ts:5](https://github.com/daysnap/utils/blob/
|
|
939
|
+
[debounce.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/debounce.ts#L5)
|
|
939
940
|
|
|
940
941
|
___
|
|
941
942
|
|
|
@@ -959,7 +960,7 @@ ___
|
|
|
959
960
|
|
|
960
961
|
#### Defined in
|
|
961
962
|
|
|
962
|
-
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/
|
|
963
|
+
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/downloadFile.ts#L4)
|
|
963
964
|
|
|
964
965
|
___
|
|
965
966
|
|
|
@@ -988,7 +989,7 @@ ___
|
|
|
988
989
|
|
|
989
990
|
#### Defined in
|
|
990
991
|
|
|
991
|
-
[each.ts:4](https://github.com/daysnap/utils/blob/
|
|
992
|
+
[each.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/each.ts#L4)
|
|
992
993
|
|
|
993
994
|
▸ **each**<`T`\>(`data`, `callback`): `void`
|
|
994
995
|
|
|
@@ -1011,7 +1012,7 @@ ___
|
|
|
1011
1012
|
|
|
1012
1013
|
#### Defined in
|
|
1013
1014
|
|
|
1014
|
-
[each.ts:8](https://github.com/daysnap/utils/blob/
|
|
1015
|
+
[each.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/each.ts#L8)
|
|
1015
1016
|
|
|
1016
1017
|
___
|
|
1017
1018
|
|
|
@@ -1029,7 +1030,7 @@ ___
|
|
|
1029
1030
|
|
|
1030
1031
|
#### Defined in
|
|
1031
1032
|
|
|
1032
|
-
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
1033
|
+
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/exitFullscreen.ts#L6)
|
|
1033
1034
|
|
|
1034
1035
|
___
|
|
1035
1036
|
|
|
@@ -1058,7 +1059,7 @@ ___
|
|
|
1058
1059
|
|
|
1059
1060
|
#### Defined in
|
|
1060
1061
|
|
|
1061
|
-
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/
|
|
1062
|
+
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/b171b07/src/storage/factory.ts#L11)
|
|
1062
1063
|
|
|
1063
1064
|
___
|
|
1064
1065
|
|
|
@@ -1080,7 +1081,7 @@ ___
|
|
|
1080
1081
|
|
|
1081
1082
|
#### Defined in
|
|
1082
1083
|
|
|
1083
|
-
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1084
|
+
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/filterBankCardNo.ts#L4)
|
|
1084
1085
|
|
|
1085
1086
|
___
|
|
1086
1087
|
|
|
@@ -1110,7 +1111,7 @@ ___
|
|
|
1110
1111
|
|
|
1111
1112
|
#### Defined in
|
|
1112
1113
|
|
|
1113
|
-
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/
|
|
1114
|
+
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/b171b07/src/crlfToBr.ts#L12)
|
|
1114
1115
|
|
|
1115
1116
|
___
|
|
1116
1117
|
|
|
@@ -1132,7 +1133,7 @@ ___
|
|
|
1132
1133
|
|
|
1133
1134
|
#### Defined in
|
|
1134
1135
|
|
|
1135
|
-
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/
|
|
1136
|
+
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/filterEmoji.ts#L4)
|
|
1136
1137
|
|
|
1137
1138
|
___
|
|
1138
1139
|
|
|
@@ -1155,7 +1156,7 @@ ___
|
|
|
1155
1156
|
|
|
1156
1157
|
#### Defined in
|
|
1157
1158
|
|
|
1158
|
-
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/
|
|
1159
|
+
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/b171b07/src/filterEmptyValue.ts#L12)
|
|
1159
1160
|
|
|
1160
1161
|
___
|
|
1161
1162
|
|
|
@@ -1178,7 +1179,7 @@ ___
|
|
|
1178
1179
|
|
|
1179
1180
|
#### Defined in
|
|
1180
1181
|
|
|
1181
|
-
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/
|
|
1182
|
+
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/filterIdCard.ts#L5)
|
|
1182
1183
|
|
|
1183
1184
|
___
|
|
1184
1185
|
|
|
@@ -1200,7 +1201,7 @@ ___
|
|
|
1200
1201
|
|
|
1201
1202
|
#### Defined in
|
|
1202
1203
|
|
|
1203
|
-
[filterName.ts:4](https://github.com/daysnap/utils/blob/
|
|
1204
|
+
[filterName.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/filterName.ts#L4)
|
|
1204
1205
|
|
|
1205
1206
|
___
|
|
1206
1207
|
|
|
@@ -1225,7 +1226,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
|
|
|
1225
1226
|
|
|
1226
1227
|
#### Defined in
|
|
1227
1228
|
|
|
1228
|
-
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/
|
|
1229
|
+
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/filterPhone.ts#L6)
|
|
1229
1230
|
|
|
1230
1231
|
___
|
|
1231
1232
|
|
|
@@ -1252,7 +1253,7 @@ str = '131****8888'
|
|
|
1252
1253
|
|
|
1253
1254
|
#### Defined in
|
|
1254
1255
|
|
|
1255
|
-
[filterString.ts:6](https://github.com/daysnap/utils/blob/
|
|
1256
|
+
[filterString.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/filterString.ts#L6)
|
|
1256
1257
|
|
|
1257
1258
|
___
|
|
1258
1259
|
|
|
@@ -1275,7 +1276,7 @@ ___
|
|
|
1275
1276
|
|
|
1276
1277
|
#### Defined in
|
|
1277
1278
|
|
|
1278
|
-
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/
|
|
1279
|
+
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/formatAmount.ts#L4)
|
|
1279
1280
|
|
|
1280
1281
|
___
|
|
1281
1282
|
|
|
@@ -1299,7 +1300,7 @@ ___
|
|
|
1299
1300
|
|
|
1300
1301
|
#### Defined in
|
|
1301
1302
|
|
|
1302
|
-
[formatDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1303
|
+
[formatDate.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/formatDate.ts#L7)
|
|
1303
1304
|
|
|
1304
1305
|
___
|
|
1305
1306
|
|
|
@@ -1330,7 +1331,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
|
|
|
1330
1331
|
|
|
1331
1332
|
#### Defined in
|
|
1332
1333
|
|
|
1333
|
-
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/
|
|
1334
|
+
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/formatDateStr.ts#L6)
|
|
1334
1335
|
|
|
1335
1336
|
___
|
|
1336
1337
|
|
|
@@ -1350,7 +1351,7 @@ ___
|
|
|
1350
1351
|
|
|
1351
1352
|
#### Defined in
|
|
1352
1353
|
|
|
1353
|
-
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/
|
|
1354
|
+
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/formartDateToZN.ts#L4)
|
|
1354
1355
|
|
|
1355
1356
|
___
|
|
1356
1357
|
|
|
@@ -1373,7 +1374,7 @@ ___
|
|
|
1373
1374
|
|
|
1374
1375
|
#### Defined in
|
|
1375
1376
|
|
|
1376
|
-
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/
|
|
1377
|
+
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/formatFileSize.ts#L4)
|
|
1377
1378
|
|
|
1378
1379
|
___
|
|
1379
1380
|
|
|
@@ -1396,7 +1397,7 @@ yyyyMMdd -> yyyy-MM-dd
|
|
|
1396
1397
|
|
|
1397
1398
|
#### Defined in
|
|
1398
1399
|
|
|
1399
|
-
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
1400
|
+
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/formatGapDate.ts#L4)
|
|
1400
1401
|
|
|
1401
1402
|
___
|
|
1402
1403
|
|
|
@@ -1421,7 +1422,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
|
|
|
1421
1422
|
|
|
1422
1423
|
#### Defined in
|
|
1423
1424
|
|
|
1424
|
-
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/
|
|
1425
|
+
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/b171b07/src/formatMessage.ts#L11)
|
|
1425
1426
|
|
|
1426
1427
|
___
|
|
1427
1428
|
|
|
@@ -1453,7 +1454,7 @@ rest = { xxx: 1 }
|
|
|
1453
1454
|
|
|
1454
1455
|
#### Defined in
|
|
1455
1456
|
|
|
1456
|
-
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/
|
|
1457
|
+
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/formatPathParams.ts#L8)
|
|
1457
1458
|
|
|
1458
1459
|
___
|
|
1459
1460
|
|
|
@@ -1475,7 +1476,7 @@ ___
|
|
|
1475
1476
|
|
|
1476
1477
|
#### Defined in
|
|
1477
1478
|
|
|
1478
|
-
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/
|
|
1479
|
+
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/getBlobByUrl.ts#L4)
|
|
1479
1480
|
|
|
1480
1481
|
___
|
|
1481
1482
|
|
|
@@ -1498,7 +1499,7 @@ ___
|
|
|
1498
1499
|
|
|
1499
1500
|
#### Defined in
|
|
1500
1501
|
|
|
1501
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1502
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/b171b07/src/storage/index.ts#L10)
|
|
1502
1503
|
|
|
1503
1504
|
___
|
|
1504
1505
|
|
|
@@ -1521,7 +1522,7 @@ ___
|
|
|
1521
1522
|
|
|
1522
1523
|
#### Defined in
|
|
1523
1524
|
|
|
1524
|
-
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/
|
|
1525
|
+
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/getDateBoundsByMonths.ts#L8)
|
|
1525
1526
|
|
|
1526
1527
|
▸ **getDateBoundsByMonths**(`monthsCount`, `date`, `fmt`): [`string`, `string`]
|
|
1527
1528
|
|
|
@@ -1539,7 +1540,7 @@ ___
|
|
|
1539
1540
|
|
|
1540
1541
|
#### Defined in
|
|
1541
1542
|
|
|
1542
|
-
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/
|
|
1543
|
+
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/b171b07/src/getDateBoundsByMonths.ts#L12)
|
|
1543
1544
|
|
|
1544
1545
|
___
|
|
1545
1546
|
|
|
@@ -1561,7 +1562,7 @@ ___
|
|
|
1561
1562
|
|
|
1562
1563
|
#### Defined in
|
|
1563
1564
|
|
|
1564
|
-
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/
|
|
1565
|
+
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/getDayMillisecond.ts#L4)
|
|
1565
1566
|
|
|
1566
1567
|
___
|
|
1567
1568
|
|
|
@@ -1584,7 +1585,7 @@ ___
|
|
|
1584
1585
|
|
|
1585
1586
|
#### Defined in
|
|
1586
1587
|
|
|
1587
|
-
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/
|
|
1588
|
+
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/getDaysOfMonth.ts#L4)
|
|
1588
1589
|
|
|
1589
1590
|
___
|
|
1590
1591
|
|
|
@@ -1607,7 +1608,7 @@ ___
|
|
|
1607
1608
|
|
|
1608
1609
|
#### Defined in
|
|
1609
1610
|
|
|
1610
|
-
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1611
|
+
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/getImageInfo.ts#L4)
|
|
1611
1612
|
|
|
1612
1613
|
___
|
|
1613
1614
|
|
|
@@ -1630,7 +1631,7 @@ ___
|
|
|
1630
1631
|
|
|
1631
1632
|
#### Defined in
|
|
1632
1633
|
|
|
1633
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1634
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/b171b07/src/storage/index.ts#L10)
|
|
1634
1635
|
|
|
1635
1636
|
___
|
|
1636
1637
|
|
|
@@ -1652,7 +1653,7 @@ ___
|
|
|
1652
1653
|
|
|
1653
1654
|
#### Defined in
|
|
1654
1655
|
|
|
1655
|
-
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1656
|
+
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/getMonthBounds.ts#L7)
|
|
1656
1657
|
|
|
1657
1658
|
▸ **getMonthBounds**(`value`, `fmt`): [`string`, `string`]
|
|
1658
1659
|
|
|
@@ -1669,7 +1670,7 @@ ___
|
|
|
1669
1670
|
|
|
1670
1671
|
#### Defined in
|
|
1671
1672
|
|
|
1672
|
-
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/
|
|
1673
|
+
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/getMonthBounds.ts#L8)
|
|
1673
1674
|
|
|
1674
1675
|
___
|
|
1675
1676
|
|
|
@@ -1692,7 +1693,7 @@ ___
|
|
|
1692
1693
|
|
|
1693
1694
|
#### Defined in
|
|
1694
1695
|
|
|
1695
|
-
[getRandom.ts:7](https://github.com/daysnap/utils/blob/
|
|
1696
|
+
[getRandom.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/getRandom.ts#L7)
|
|
1696
1697
|
|
|
1697
1698
|
___
|
|
1698
1699
|
|
|
@@ -1708,7 +1709,7 @@ ___
|
|
|
1708
1709
|
|
|
1709
1710
|
#### Defined in
|
|
1710
1711
|
|
|
1711
|
-
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/
|
|
1712
|
+
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/getRandomColor.ts#L4)
|
|
1712
1713
|
|
|
1713
1714
|
___
|
|
1714
1715
|
|
|
@@ -1730,7 +1731,7 @@ ___
|
|
|
1730
1731
|
|
|
1731
1732
|
#### Defined in
|
|
1732
1733
|
|
|
1733
|
-
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/
|
|
1734
|
+
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/getRandomNumber.ts#L7)
|
|
1734
1735
|
|
|
1735
1736
|
___
|
|
1736
1737
|
|
|
@@ -1753,7 +1754,7 @@ ___
|
|
|
1753
1754
|
|
|
1754
1755
|
#### Defined in
|
|
1755
1756
|
|
|
1756
|
-
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1757
|
+
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/getRangeDate.ts#L7)
|
|
1757
1758
|
|
|
1758
1759
|
▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
|
|
1759
1760
|
|
|
@@ -1771,7 +1772,7 @@ ___
|
|
|
1771
1772
|
|
|
1772
1773
|
#### Defined in
|
|
1773
1774
|
|
|
1774
|
-
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/
|
|
1775
|
+
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/b171b07/src/getRangeDate.ts#L11)
|
|
1775
1776
|
|
|
1776
1777
|
___
|
|
1777
1778
|
|
|
@@ -1787,7 +1788,7 @@ ___
|
|
|
1787
1788
|
|
|
1788
1789
|
#### Defined in
|
|
1789
1790
|
|
|
1790
|
-
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
1791
|
+
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/getScrollTop.ts#L4)
|
|
1791
1792
|
|
|
1792
1793
|
___
|
|
1793
1794
|
|
|
@@ -1809,7 +1810,7 @@ ___
|
|
|
1809
1810
|
|
|
1810
1811
|
#### Defined in
|
|
1811
1812
|
|
|
1812
|
-
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1813
|
+
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/getVideoInfo.ts#L4)
|
|
1813
1814
|
|
|
1814
1815
|
___
|
|
1815
1816
|
|
|
@@ -1832,7 +1833,7 @@ ___
|
|
|
1832
1833
|
|
|
1833
1834
|
#### Defined in
|
|
1834
1835
|
|
|
1835
|
-
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1836
|
+
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/getWeekBounds.ts#L7)
|
|
1836
1837
|
|
|
1837
1838
|
▸ **getWeekBounds**(`value`, `sundayIsFirstDay`, `fmt`): [`string`, `string`]
|
|
1838
1839
|
|
|
@@ -1850,7 +1851,7 @@ ___
|
|
|
1850
1851
|
|
|
1851
1852
|
#### Defined in
|
|
1852
1853
|
|
|
1853
|
-
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/
|
|
1854
|
+
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/b171b07/src/getWeekBounds.ts#L11)
|
|
1854
1855
|
|
|
1855
1856
|
___
|
|
1856
1857
|
|
|
@@ -1873,7 +1874,7 @@ ___
|
|
|
1873
1874
|
|
|
1874
1875
|
#### Defined in
|
|
1875
1876
|
|
|
1876
|
-
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/
|
|
1877
|
+
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/getWeekday.ts#L6)
|
|
1877
1878
|
|
|
1878
1879
|
___
|
|
1879
1880
|
|
|
@@ -1889,7 +1890,7 @@ ___
|
|
|
1889
1890
|
|
|
1890
1891
|
#### Defined in
|
|
1891
1892
|
|
|
1892
|
-
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/
|
|
1893
|
+
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/inBrowser.ts#L4)
|
|
1893
1894
|
|
|
1894
1895
|
___
|
|
1895
1896
|
|
|
@@ -1911,7 +1912,7 @@ ___
|
|
|
1911
1912
|
|
|
1912
1913
|
#### Defined in
|
|
1913
1914
|
|
|
1914
|
-
[insertLink.ts:4](https://github.com/daysnap/utils/blob/
|
|
1915
|
+
[insertLink.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/insertLink.ts#L4)
|
|
1915
1916
|
|
|
1916
1917
|
▸ **insertLink**(`href`, `callback`): `void`
|
|
1917
1918
|
|
|
@@ -1928,7 +1929,7 @@ ___
|
|
|
1928
1929
|
|
|
1929
1930
|
#### Defined in
|
|
1930
1931
|
|
|
1931
|
-
[insertLink.ts:5](https://github.com/daysnap/utils/blob/
|
|
1932
|
+
[insertLink.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/insertLink.ts#L5)
|
|
1932
1933
|
|
|
1933
1934
|
___
|
|
1934
1935
|
|
|
@@ -1950,7 +1951,7 @@ ___
|
|
|
1950
1951
|
|
|
1951
1952
|
#### Defined in
|
|
1952
1953
|
|
|
1953
|
-
[insertScript.ts:4](https://github.com/daysnap/utils/blob/
|
|
1954
|
+
[insertScript.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/insertScript.ts#L4)
|
|
1954
1955
|
|
|
1955
1956
|
▸ **insertScript**(`src`, `callback`): `void`
|
|
1956
1957
|
|
|
@@ -1967,7 +1968,7 @@ ___
|
|
|
1967
1968
|
|
|
1968
1969
|
#### Defined in
|
|
1969
1970
|
|
|
1970
|
-
[insertScript.ts:5](https://github.com/daysnap/utils/blob/
|
|
1971
|
+
[insertScript.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/insertScript.ts#L5)
|
|
1971
1972
|
|
|
1972
1973
|
___
|
|
1973
1974
|
|
|
@@ -1989,7 +1990,7 @@ ___
|
|
|
1989
1990
|
|
|
1990
1991
|
#### Defined in
|
|
1991
1992
|
|
|
1992
|
-
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/
|
|
1993
|
+
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/insertStyle.ts#L4)
|
|
1993
1994
|
|
|
1994
1995
|
___
|
|
1995
1996
|
|
|
@@ -2018,7 +2019,7 @@ isAmount('1.123') => false
|
|
|
2018
2019
|
|
|
2019
2020
|
#### Defined in
|
|
2020
2021
|
|
|
2021
|
-
[isAmount.ts:11](https://github.com/daysnap/utils/blob/
|
|
2022
|
+
[isAmount.ts:11](https://github.com/daysnap/utils/blob/b171b07/src/isAmount.ts#L11)
|
|
2022
2023
|
|
|
2023
2024
|
___
|
|
2024
2025
|
|
|
@@ -2034,7 +2035,7 @@ ___
|
|
|
2034
2035
|
|
|
2035
2036
|
#### Defined in
|
|
2036
2037
|
|
|
2037
|
-
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/
|
|
2038
|
+
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isAndroid.ts#L4)
|
|
2038
2039
|
|
|
2039
2040
|
___
|
|
2040
2041
|
|
|
@@ -2064,7 +2065,7 @@ val is T[]
|
|
|
2064
2065
|
|
|
2065
2066
|
#### Defined in
|
|
2066
2067
|
|
|
2067
|
-
[isArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2068
|
+
[isArray.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/isArray.ts#L6)
|
|
2068
2069
|
|
|
2069
2070
|
___
|
|
2070
2071
|
|
|
@@ -2086,7 +2087,7 @@ val is boolean
|
|
|
2086
2087
|
|
|
2087
2088
|
#### Defined in
|
|
2088
2089
|
|
|
2089
|
-
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/
|
|
2090
|
+
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/isBoolean.ts#L5)
|
|
2090
2091
|
|
|
2091
2092
|
___
|
|
2092
2093
|
|
|
@@ -2108,7 +2109,7 @@ ___
|
|
|
2108
2109
|
|
|
2109
2110
|
#### Defined in
|
|
2110
2111
|
|
|
2111
|
-
[isChinese.ts:4](https://github.com/daysnap/utils/blob/
|
|
2112
|
+
[isChinese.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isChinese.ts#L4)
|
|
2112
2113
|
|
|
2113
2114
|
___
|
|
2114
2115
|
|
|
@@ -2130,7 +2131,7 @@ val is Date
|
|
|
2130
2131
|
|
|
2131
2132
|
#### Defined in
|
|
2132
2133
|
|
|
2133
|
-
[isDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
2134
|
+
[isDate.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isDate.ts#L4)
|
|
2134
2135
|
|
|
2135
2136
|
___
|
|
2136
2137
|
|
|
@@ -2152,7 +2153,7 @@ ___
|
|
|
2152
2153
|
|
|
2153
2154
|
#### Defined in
|
|
2154
2155
|
|
|
2155
|
-
[isEmail.ts:4](https://github.com/daysnap/utils/blob/
|
|
2156
|
+
[isEmail.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isEmail.ts#L4)
|
|
2156
2157
|
|
|
2157
2158
|
___
|
|
2158
2159
|
|
|
@@ -2174,7 +2175,7 @@ ___
|
|
|
2174
2175
|
|
|
2175
2176
|
#### Defined in
|
|
2176
2177
|
|
|
2177
|
-
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/
|
|
2178
|
+
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/isEmpty.ts#L6)
|
|
2178
2179
|
|
|
2179
2180
|
___
|
|
2180
2181
|
|
|
@@ -2196,7 +2197,7 @@ ___
|
|
|
2196
2197
|
|
|
2197
2198
|
#### Defined in
|
|
2198
2199
|
|
|
2199
|
-
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2200
|
+
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/isEmptyArray.ts#L6)
|
|
2200
2201
|
|
|
2201
2202
|
___
|
|
2202
2203
|
|
|
@@ -2218,7 +2219,7 @@ ___
|
|
|
2218
2219
|
|
|
2219
2220
|
#### Defined in
|
|
2220
2221
|
|
|
2221
|
-
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
2222
|
+
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/isEmptyObject.ts#L5)
|
|
2222
2223
|
|
|
2223
2224
|
___
|
|
2224
2225
|
|
|
@@ -2240,7 +2241,7 @@ val is Error
|
|
|
2240
2241
|
|
|
2241
2242
|
#### Defined in
|
|
2242
2243
|
|
|
2243
|
-
[isError.ts:4](https://github.com/daysnap/utils/blob/
|
|
2244
|
+
[isError.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isError.ts#L4)
|
|
2244
2245
|
|
|
2245
2246
|
___
|
|
2246
2247
|
|
|
@@ -2268,7 +2269,7 @@ val is T
|
|
|
2268
2269
|
|
|
2269
2270
|
#### Defined in
|
|
2270
2271
|
|
|
2271
|
-
[isFunction.ts:4](https://github.com/daysnap/utils/blob/
|
|
2272
|
+
[isFunction.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isFunction.ts#L4)
|
|
2272
2273
|
|
|
2273
2274
|
___
|
|
2274
2275
|
|
|
@@ -2286,7 +2287,7 @@ ___
|
|
|
2286
2287
|
|
|
2287
2288
|
#### Defined in
|
|
2288
2289
|
|
|
2289
|
-
[isIE.ts:6](https://github.com/daysnap/utils/blob/
|
|
2290
|
+
[isIE.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/isIE.ts#L6)
|
|
2290
2291
|
|
|
2291
2292
|
___
|
|
2292
2293
|
|
|
@@ -2302,7 +2303,7 @@ ___
|
|
|
2302
2303
|
|
|
2303
2304
|
#### Defined in
|
|
2304
2305
|
|
|
2305
|
-
[isIOS.ts:4](https://github.com/daysnap/utils/blob/
|
|
2306
|
+
[isIOS.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isIOS.ts#L4)
|
|
2306
2307
|
|
|
2307
2308
|
___
|
|
2308
2309
|
|
|
@@ -2324,7 +2325,7 @@ ___
|
|
|
2324
2325
|
|
|
2325
2326
|
#### Defined in
|
|
2326
2327
|
|
|
2327
|
-
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/
|
|
2328
|
+
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isIdCard.ts#L4)
|
|
2328
2329
|
|
|
2329
2330
|
___
|
|
2330
2331
|
|
|
@@ -2346,7 +2347,7 @@ ___
|
|
|
2346
2347
|
|
|
2347
2348
|
#### Defined in
|
|
2348
2349
|
|
|
2349
|
-
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/
|
|
2350
|
+
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/isJSONString.ts#L7)
|
|
2350
2351
|
|
|
2351
2352
|
___
|
|
2352
2353
|
|
|
@@ -2368,7 +2369,7 @@ ___
|
|
|
2368
2369
|
|
|
2369
2370
|
#### Defined in
|
|
2370
2371
|
|
|
2371
|
-
[isLan.ts:5](https://github.com/daysnap/utils/blob/
|
|
2372
|
+
[isLan.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/isLan.ts#L5)
|
|
2372
2373
|
|
|
2373
2374
|
___
|
|
2374
2375
|
|
|
@@ -2391,7 +2392,7 @@ ___
|
|
|
2391
2392
|
|
|
2392
2393
|
#### Defined in
|
|
2393
2394
|
|
|
2394
|
-
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/
|
|
2395
|
+
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/isLeapYear.ts#L5)
|
|
2395
2396
|
|
|
2396
2397
|
___
|
|
2397
2398
|
|
|
@@ -2413,7 +2414,7 @@ ___
|
|
|
2413
2414
|
|
|
2414
2415
|
#### Defined in
|
|
2415
2416
|
|
|
2416
|
-
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/
|
|
2417
|
+
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/isLicenseCode.ts#L5)
|
|
2417
2418
|
|
|
2418
2419
|
___
|
|
2419
2420
|
|
|
@@ -2429,7 +2430,7 @@ ___
|
|
|
2429
2430
|
|
|
2430
2431
|
#### Defined in
|
|
2431
2432
|
|
|
2432
|
-
[isMobile.ts:4](https://github.com/daysnap/utils/blob/
|
|
2433
|
+
[isMobile.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isMobile.ts#L4)
|
|
2433
2434
|
|
|
2434
2435
|
___
|
|
2435
2436
|
|
|
@@ -2452,7 +2453,7 @@ ___
|
|
|
2452
2453
|
|
|
2453
2454
|
#### Defined in
|
|
2454
2455
|
|
|
2455
|
-
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/
|
|
2456
|
+
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/isNativeFunction.ts#L7)
|
|
2456
2457
|
|
|
2457
2458
|
___
|
|
2458
2459
|
|
|
@@ -2474,7 +2475,7 @@ ___
|
|
|
2474
2475
|
|
|
2475
2476
|
#### Defined in
|
|
2476
2477
|
|
|
2477
|
-
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/
|
|
2478
|
+
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/isNotEmpty.ts#L5)
|
|
2478
2479
|
|
|
2479
2480
|
___
|
|
2480
2481
|
|
|
@@ -2496,7 +2497,7 @@ val is null
|
|
|
2496
2497
|
|
|
2497
2498
|
#### Defined in
|
|
2498
2499
|
|
|
2499
|
-
[isNull.ts:4](https://github.com/daysnap/utils/blob/
|
|
2500
|
+
[isNull.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isNull.ts#L4)
|
|
2500
2501
|
|
|
2501
2502
|
___
|
|
2502
2503
|
|
|
@@ -2518,7 +2519,7 @@ val is number
|
|
|
2518
2519
|
|
|
2519
2520
|
#### Defined in
|
|
2520
2521
|
|
|
2521
|
-
[isNumber.ts:5](https://github.com/daysnap/utils/blob/
|
|
2522
|
+
[isNumber.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/isNumber.ts#L5)
|
|
2522
2523
|
|
|
2523
2524
|
___
|
|
2524
2525
|
|
|
@@ -2546,7 +2547,7 @@ val is T
|
|
|
2546
2547
|
|
|
2547
2548
|
#### Defined in
|
|
2548
2549
|
|
|
2549
|
-
[isObject.ts:4](https://github.com/daysnap/utils/blob/
|
|
2550
|
+
[isObject.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isObject.ts#L4)
|
|
2550
2551
|
|
|
2551
2552
|
___
|
|
2552
2553
|
|
|
@@ -2568,7 +2569,7 @@ ___
|
|
|
2568
2569
|
|
|
2569
2570
|
#### Defined in
|
|
2570
2571
|
|
|
2571
|
-
[isPhone.ts:4](https://github.com/daysnap/utils/blob/
|
|
2572
|
+
[isPhone.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isPhone.ts#L4)
|
|
2572
2573
|
|
|
2573
2574
|
___
|
|
2574
2575
|
|
|
@@ -2596,7 +2597,35 @@ val is Promise<T\>
|
|
|
2596
2597
|
|
|
2597
2598
|
#### Defined in
|
|
2598
2599
|
|
|
2599
|
-
[isPromise.ts:4](https://github.com/daysnap/utils/blob/
|
|
2600
|
+
[isPromise.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isPromise.ts#L4)
|
|
2601
|
+
|
|
2602
|
+
___
|
|
2603
|
+
|
|
2604
|
+
### isPromiseLike
|
|
2605
|
+
|
|
2606
|
+
▸ **isPromiseLike**<`T`\>(`value`): value is PromiseLike<T\>
|
|
2607
|
+
|
|
2608
|
+
说明
|
|
2609
|
+
|
|
2610
|
+
#### Type parameters
|
|
2611
|
+
|
|
2612
|
+
| Name |
|
|
2613
|
+
| :------ |
|
|
2614
|
+
| `T` |
|
|
2615
|
+
|
|
2616
|
+
#### Parameters
|
|
2617
|
+
|
|
2618
|
+
| Name | Type |
|
|
2619
|
+
| :------ | :------ |
|
|
2620
|
+
| `value` | `unknown` |
|
|
2621
|
+
|
|
2622
|
+
#### Returns
|
|
2623
|
+
|
|
2624
|
+
value is PromiseLike<T\>
|
|
2625
|
+
|
|
2626
|
+
#### Defined in
|
|
2627
|
+
|
|
2628
|
+
isPromiseLike.ts:4
|
|
2600
2629
|
|
|
2601
2630
|
___
|
|
2602
2631
|
|
|
@@ -2618,7 +2647,7 @@ val is RegExp
|
|
|
2618
2647
|
|
|
2619
2648
|
#### Defined in
|
|
2620
2649
|
|
|
2621
|
-
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/
|
|
2650
|
+
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isRegExp.ts#L4)
|
|
2622
2651
|
|
|
2623
2652
|
___
|
|
2624
2653
|
|
|
@@ -2640,7 +2669,7 @@ val is string
|
|
|
2640
2669
|
|
|
2641
2670
|
#### Defined in
|
|
2642
2671
|
|
|
2643
|
-
[isString.ts:4](https://github.com/daysnap/utils/blob/
|
|
2672
|
+
[isString.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isString.ts#L4)
|
|
2644
2673
|
|
|
2645
2674
|
___
|
|
2646
2675
|
|
|
@@ -2669,7 +2698,7 @@ val is T
|
|
|
2669
2698
|
|
|
2670
2699
|
#### Defined in
|
|
2671
2700
|
|
|
2672
|
-
[isType.ts:4](https://github.com/daysnap/utils/blob/
|
|
2701
|
+
[isType.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isType.ts#L4)
|
|
2673
2702
|
|
|
2674
2703
|
___
|
|
2675
2704
|
|
|
@@ -2691,7 +2720,7 @@ val is undefined
|
|
|
2691
2720
|
|
|
2692
2721
|
#### Defined in
|
|
2693
2722
|
|
|
2694
|
-
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/
|
|
2723
|
+
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isUndefined.ts#L4)
|
|
2695
2724
|
|
|
2696
2725
|
___
|
|
2697
2726
|
|
|
@@ -2735,7 +2764,7 @@ ___
|
|
|
2735
2764
|
|
|
2736
2765
|
#### Defined in
|
|
2737
2766
|
|
|
2738
|
-
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/
|
|
2767
|
+
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/isValidDate.ts#L6)
|
|
2739
2768
|
|
|
2740
2769
|
___
|
|
2741
2770
|
|
|
@@ -2751,7 +2780,7 @@ ___
|
|
|
2751
2780
|
|
|
2752
2781
|
#### Defined in
|
|
2753
2782
|
|
|
2754
|
-
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/
|
|
2783
|
+
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/isWeChat.ts#L4)
|
|
2755
2784
|
|
|
2756
2785
|
___
|
|
2757
2786
|
|
|
@@ -2768,7 +2797,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
|
|
|
2768
2797
|
|
|
2769
2798
|
#### Defined in
|
|
2770
2799
|
|
|
2771
|
-
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/
|
|
2800
|
+
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/isWeChatMiniProgram.ts#L5)
|
|
2772
2801
|
|
|
2773
2802
|
___
|
|
2774
2803
|
|
|
@@ -2792,7 +2821,7 @@ ___
|
|
|
2792
2821
|
|
|
2793
2822
|
#### Defined in
|
|
2794
2823
|
|
|
2795
|
-
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/
|
|
2824
|
+
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/b171b07/src/isWeChat.ts#L12)
|
|
2796
2825
|
|
|
2797
2826
|
___
|
|
2798
2827
|
|
|
@@ -2814,7 +2843,7 @@ val is Window
|
|
|
2814
2843
|
|
|
2815
2844
|
#### Defined in
|
|
2816
2845
|
|
|
2817
|
-
[isWindow.ts:5](https://github.com/daysnap/utils/blob/
|
|
2846
|
+
[isWindow.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/isWindow.ts#L5)
|
|
2818
2847
|
|
|
2819
2848
|
___
|
|
2820
2849
|
|
|
@@ -2837,7 +2866,7 @@ kebabCase('helloWorld') => hello-world
|
|
|
2837
2866
|
|
|
2838
2867
|
#### Defined in
|
|
2839
2868
|
|
|
2840
|
-
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
2869
|
+
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/kebabCase.ts#L5)
|
|
2841
2870
|
|
|
2842
2871
|
___
|
|
2843
2872
|
|
|
@@ -2859,7 +2888,7 @@ ___
|
|
|
2859
2888
|
|
|
2860
2889
|
#### Defined in
|
|
2861
2890
|
|
|
2862
|
-
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
2891
|
+
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/lfToBr.ts#L4)
|
|
2863
2892
|
|
|
2864
2893
|
___
|
|
2865
2894
|
|
|
@@ -2881,7 +2910,7 @@ list 生成器,快速生成数据
|
|
|
2881
2910
|
|
|
2882
2911
|
#### Defined in
|
|
2883
2912
|
|
|
2884
|
-
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/
|
|
2913
|
+
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/listGenerator.ts#L5)
|
|
2885
2914
|
|
|
2886
2915
|
▸ **listGenerator**<`T`\>(`length`, `fn`): `T`[]
|
|
2887
2916
|
|
|
@@ -2904,7 +2933,7 @@ list 生成器,快速生成数据
|
|
|
2904
2933
|
|
|
2905
2934
|
#### Defined in
|
|
2906
2935
|
|
|
2907
|
-
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/
|
|
2936
|
+
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/listGenerator.ts#L6)
|
|
2908
2937
|
|
|
2909
2938
|
___
|
|
2910
2939
|
|
|
@@ -2924,7 +2953,7 @@ ___
|
|
|
2924
2953
|
|
|
2925
2954
|
#### Defined in
|
|
2926
2955
|
|
|
2927
|
-
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/
|
|
2956
|
+
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/b171b07/src/makePhoneCall.ts#L1)
|
|
2928
2957
|
|
|
2929
2958
|
___
|
|
2930
2959
|
|
|
@@ -2949,7 +2978,7 @@ ___
|
|
|
2949
2978
|
|
|
2950
2979
|
#### Defined in
|
|
2951
2980
|
|
|
2952
|
-
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/
|
|
2981
|
+
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/b171b07/src/mousewheel.ts#L22)
|
|
2953
2982
|
|
|
2954
2983
|
___
|
|
2955
2984
|
|
|
@@ -2965,7 +2994,7 @@ ___
|
|
|
2965
2994
|
|
|
2966
2995
|
#### Defined in
|
|
2967
2996
|
|
|
2968
|
-
[nf.ts:4](https://github.com/daysnap/utils/blob/
|
|
2997
|
+
[nf.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/nf.ts#L4)
|
|
2969
2998
|
|
|
2970
2999
|
___
|
|
2971
3000
|
|
|
@@ -2989,7 +3018,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
|
|
|
2989
3018
|
|
|
2990
3019
|
#### Defined in
|
|
2991
3020
|
|
|
2992
|
-
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/
|
|
3021
|
+
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/normalizeDate.ts#L8)
|
|
2993
3022
|
|
|
2994
3023
|
___
|
|
2995
3024
|
|
|
@@ -3011,7 +3040,7 @@ ___
|
|
|
3011
3040
|
|
|
3012
3041
|
#### Defined in
|
|
3013
3042
|
|
|
3014
|
-
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/
|
|
3043
|
+
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/normalizePath.ts#L4)
|
|
3015
3044
|
|
|
3016
3045
|
___
|
|
3017
3046
|
|
|
@@ -3033,7 +3062,7 @@ ___
|
|
|
3033
3062
|
|
|
3034
3063
|
#### Defined in
|
|
3035
3064
|
|
|
3036
|
-
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/
|
|
3065
|
+
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/numberToLetter.ts#L4)
|
|
3037
3066
|
|
|
3038
3067
|
___
|
|
3039
3068
|
|
|
@@ -3063,7 +3092,7 @@ ___
|
|
|
3063
3092
|
|
|
3064
3093
|
#### Defined in
|
|
3065
3094
|
|
|
3066
|
-
[omit.ts:4](https://github.com/daysnap/utils/blob/
|
|
3095
|
+
[omit.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/omit.ts#L4)
|
|
3067
3096
|
|
|
3068
3097
|
___
|
|
3069
3098
|
|
|
@@ -3094,7 +3123,7 @@ omitBy(object, isNumber);
|
|
|
3094
3123
|
|
|
3095
3124
|
#### Defined in
|
|
3096
3125
|
|
|
3097
|
-
[omitBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3126
|
+
[omitBy.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/omitBy.ts#L6)
|
|
3098
3127
|
|
|
3099
3128
|
___
|
|
3100
3129
|
|
|
@@ -3118,7 +3147,7 @@ ___
|
|
|
3118
3147
|
|
|
3119
3148
|
#### Defined in
|
|
3120
3149
|
|
|
3121
|
-
[padding.ts:7](https://github.com/daysnap/utils/blob/
|
|
3150
|
+
[padding.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/padding.ts#L7)
|
|
3122
3151
|
|
|
3123
3152
|
___
|
|
3124
3153
|
|
|
@@ -3144,7 +3173,7 @@ ___
|
|
|
3144
3173
|
|
|
3145
3174
|
#### Defined in
|
|
3146
3175
|
|
|
3147
|
-
[parseDate.ts:5](https://github.com/daysnap/utils/blob/
|
|
3176
|
+
[parseDate.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/parseDate.ts#L5)
|
|
3148
3177
|
|
|
3149
3178
|
___
|
|
3150
3179
|
|
|
@@ -3170,7 +3199,7 @@ ___
|
|
|
3170
3199
|
|
|
3171
3200
|
#### Defined in
|
|
3172
3201
|
|
|
3173
|
-
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/
|
|
3202
|
+
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/parseDecimalString.ts#L5)
|
|
3174
3203
|
|
|
3175
3204
|
___
|
|
3176
3205
|
|
|
@@ -3193,7 +3222,7 @@ ___
|
|
|
3193
3222
|
|
|
3194
3223
|
#### Defined in
|
|
3195
3224
|
|
|
3196
|
-
[parseError.ts:8](https://github.com/daysnap/utils/blob/
|
|
3225
|
+
[parseError.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/parseError.ts#L8)
|
|
3197
3226
|
|
|
3198
3227
|
___
|
|
3199
3228
|
|
|
@@ -3218,7 +3247,7 @@ x0123 => ''
|
|
|
3218
3247
|
|
|
3219
3248
|
#### Defined in
|
|
3220
3249
|
|
|
3221
|
-
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/
|
|
3250
|
+
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/parseNumberString.ts#L7)
|
|
3222
3251
|
|
|
3223
3252
|
___
|
|
3224
3253
|
|
|
@@ -3248,7 +3277,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
|
|
|
3248
3277
|
|
|
3249
3278
|
#### Defined in
|
|
3250
3279
|
|
|
3251
|
-
[parseObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
3280
|
+
[parseObject.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/parseObject.ts#L5)
|
|
3252
3281
|
|
|
3253
3282
|
___
|
|
3254
3283
|
|
|
@@ -3277,7 +3306,7 @@ ___
|
|
|
3277
3306
|
|
|
3278
3307
|
#### Defined in
|
|
3279
3308
|
|
|
3280
|
-
[parsePath.ts:6](https://github.com/daysnap/utils/blob/
|
|
3309
|
+
[parsePath.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/parsePath.ts#L6)
|
|
3281
3310
|
|
|
3282
3311
|
___
|
|
3283
3312
|
|
|
@@ -3300,7 +3329,7 @@ ___
|
|
|
3300
3329
|
|
|
3301
3330
|
#### Defined in
|
|
3302
3331
|
|
|
3303
|
-
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/
|
|
3332
|
+
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/parseQuery.ts#L8)
|
|
3304
3333
|
|
|
3305
3334
|
___
|
|
3306
3335
|
|
|
@@ -3330,7 +3359,7 @@ ___
|
|
|
3330
3359
|
|
|
3331
3360
|
#### Defined in
|
|
3332
3361
|
|
|
3333
|
-
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3362
|
+
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/parseQueryString.ts#L6)
|
|
3334
3363
|
|
|
3335
3364
|
___
|
|
3336
3365
|
|
|
@@ -3353,7 +3382,7 @@ pascalCase('hello-world') => HelloWorld
|
|
|
3353
3382
|
|
|
3354
3383
|
#### Defined in
|
|
3355
3384
|
|
|
3356
|
-
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/
|
|
3385
|
+
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/pascalCase.ts#L8)
|
|
3357
3386
|
|
|
3358
3387
|
___
|
|
3359
3388
|
|
|
@@ -3383,7 +3412,7 @@ ___
|
|
|
3383
3412
|
|
|
3384
3413
|
#### Defined in
|
|
3385
3414
|
|
|
3386
|
-
[pick.ts:4](https://github.com/daysnap/utils/blob/
|
|
3415
|
+
[pick.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/pick.ts#L4)
|
|
3387
3416
|
|
|
3388
3417
|
___
|
|
3389
3418
|
|
|
@@ -3414,7 +3443,7 @@ pickBy(object, isNumber);
|
|
|
3414
3443
|
|
|
3415
3444
|
#### Defined in
|
|
3416
3445
|
|
|
3417
|
-
[pickBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3446
|
+
[pickBy.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/pickBy.ts#L6)
|
|
3418
3447
|
|
|
3419
3448
|
___
|
|
3420
3449
|
|
|
@@ -3437,7 +3466,7 @@ ___
|
|
|
3437
3466
|
|
|
3438
3467
|
#### Defined in
|
|
3439
3468
|
|
|
3440
|
-
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3469
|
+
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/replaceCrlf.ts#L4)
|
|
3441
3470
|
|
|
3442
3471
|
___
|
|
3443
3472
|
|
|
@@ -3461,7 +3490,7 @@ ___
|
|
|
3461
3490
|
|
|
3462
3491
|
#### Defined in
|
|
3463
3492
|
|
|
3464
|
-
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
3493
|
+
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/requestFullScreen.ts#L6)
|
|
3465
3494
|
|
|
3466
3495
|
___
|
|
3467
3496
|
|
|
@@ -3487,7 +3516,7 @@ reserve(0, '--') => 0
|
|
|
3487
3516
|
|
|
3488
3517
|
#### Defined in
|
|
3489
3518
|
|
|
3490
|
-
[reserve.ts:8](https://github.com/daysnap/utils/blob/
|
|
3519
|
+
[reserve.ts:8](https://github.com/daysnap/utils/blob/b171b07/src/reserve.ts#L8)
|
|
3491
3520
|
|
|
3492
3521
|
___
|
|
3493
3522
|
|
|
@@ -3511,7 +3540,7 @@ ___
|
|
|
3511
3540
|
|
|
3512
3541
|
#### Defined in
|
|
3513
3542
|
|
|
3514
|
-
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/
|
|
3543
|
+
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/rgbToHex.ts#L4)
|
|
3515
3544
|
|
|
3516
3545
|
___
|
|
3517
3546
|
|
|
@@ -3534,7 +3563,7 @@ ___
|
|
|
3534
3563
|
|
|
3535
3564
|
#### Defined in
|
|
3536
3565
|
|
|
3537
|
-
[round.ts:6](https://github.com/daysnap/utils/blob/
|
|
3566
|
+
[round.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/round.ts#L6)
|
|
3538
3567
|
|
|
3539
3568
|
___
|
|
3540
3569
|
|
|
@@ -3559,7 +3588,7 @@ ___
|
|
|
3559
3588
|
|
|
3560
3589
|
#### Defined in
|
|
3561
3590
|
|
|
3562
|
-
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/
|
|
3591
|
+
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/roundUpToNearestInteger.ts#L7)
|
|
3563
3592
|
|
|
3564
3593
|
___
|
|
3565
3594
|
|
|
@@ -3575,7 +3604,7 @@ ___
|
|
|
3575
3604
|
|
|
3576
3605
|
#### Defined in
|
|
3577
3606
|
|
|
3578
|
-
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3607
|
+
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/scrollToTop.ts#L4)
|
|
3579
3608
|
|
|
3580
3609
|
___
|
|
3581
3610
|
|
|
@@ -3597,7 +3626,7 @@ ___
|
|
|
3597
3626
|
|
|
3598
3627
|
#### Defined in
|
|
3599
3628
|
|
|
3600
|
-
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3629
|
+
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/setScrollTop.ts#L4)
|
|
3601
3630
|
|
|
3602
3631
|
___
|
|
3603
3632
|
|
|
@@ -3621,7 +3650,7 @@ ___
|
|
|
3621
3650
|
|
|
3622
3651
|
#### Defined in
|
|
3623
3652
|
|
|
3624
|
-
[sleep.ts:7](https://github.com/daysnap/utils/blob/
|
|
3653
|
+
[sleep.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/sleep.ts#L7)
|
|
3625
3654
|
|
|
3626
3655
|
___
|
|
3627
3656
|
|
|
@@ -3650,7 +3679,7 @@ ___
|
|
|
3650
3679
|
|
|
3651
3680
|
#### Defined in
|
|
3652
3681
|
|
|
3653
|
-
[splitArray.ts:4](https://github.com/daysnap/utils/blob/
|
|
3682
|
+
[splitArray.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/splitArray.ts#L4)
|
|
3654
3683
|
|
|
3655
3684
|
___
|
|
3656
3685
|
|
|
@@ -3673,7 +3702,7 @@ ___
|
|
|
3673
3702
|
|
|
3674
3703
|
#### Defined in
|
|
3675
3704
|
|
|
3676
|
-
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/
|
|
3705
|
+
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/stringTrim.ts#L6)
|
|
3677
3706
|
|
|
3678
3707
|
___
|
|
3679
3708
|
|
|
@@ -3695,7 +3724,7 @@ ___
|
|
|
3695
3724
|
|
|
3696
3725
|
#### Defined in
|
|
3697
3726
|
|
|
3698
|
-
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/
|
|
3727
|
+
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/b171b07/src/stringifyQuery.ts#L7)
|
|
3699
3728
|
|
|
3700
3729
|
___
|
|
3701
3730
|
|
|
@@ -3719,7 +3748,7 @@ ___
|
|
|
3719
3748
|
|
|
3720
3749
|
#### Defined in
|
|
3721
3750
|
|
|
3722
|
-
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3751
|
+
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/stringifyQueryString.ts#L6)
|
|
3723
3752
|
|
|
3724
3753
|
___
|
|
3725
3754
|
|
|
@@ -3763,7 +3792,7 @@ ___
|
|
|
3763
3792
|
|
|
3764
3793
|
#### Defined in
|
|
3765
3794
|
|
|
3766
|
-
[throttle.ts:48](https://github.com/daysnap/utils/blob/
|
|
3795
|
+
[throttle.ts:48](https://github.com/daysnap/utils/blob/b171b07/src/throttle.ts#L48)
|
|
3767
3796
|
|
|
3768
3797
|
___
|
|
3769
3798
|
|
|
@@ -3806,7 +3835,7 @@ ___
|
|
|
3806
3835
|
|
|
3807
3836
|
#### Defined in
|
|
3808
3837
|
|
|
3809
|
-
[throttle.ts:5](https://github.com/daysnap/utils/blob/
|
|
3838
|
+
[throttle.ts:5](https://github.com/daysnap/utils/blob/b171b07/src/throttle.ts#L5)
|
|
3810
3839
|
|
|
3811
3840
|
___
|
|
3812
3841
|
|
|
@@ -3849,7 +3878,7 @@ ___
|
|
|
3849
3878
|
|
|
3850
3879
|
#### Defined in
|
|
3851
3880
|
|
|
3852
|
-
[throttle.ts:25](https://github.com/daysnap/utils/blob/
|
|
3881
|
+
[throttle.ts:25](https://github.com/daysnap/utils/blob/b171b07/src/throttle.ts#L25)
|
|
3853
3882
|
|
|
3854
3883
|
___
|
|
3855
3884
|
|
|
@@ -3871,7 +3900,7 @@ ___
|
|
|
3871
3900
|
|
|
3872
3901
|
#### Defined in
|
|
3873
3902
|
|
|
3874
|
-
[toCDB.ts:4](https://github.com/daysnap/utils/blob/
|
|
3903
|
+
[toCDB.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/toCDB.ts#L4)
|
|
3875
3904
|
|
|
3876
3905
|
___
|
|
3877
3906
|
|
|
@@ -3893,7 +3922,7 @@ ___
|
|
|
3893
3922
|
|
|
3894
3923
|
#### Defined in
|
|
3895
3924
|
|
|
3896
|
-
[toDBC.ts:4](https://github.com/daysnap/utils/blob/
|
|
3925
|
+
[toDBC.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/toDBC.ts#L4)
|
|
3897
3926
|
|
|
3898
3927
|
___
|
|
3899
3928
|
|
|
@@ -3915,7 +3944,7 @@ ___
|
|
|
3915
3944
|
|
|
3916
3945
|
#### Defined in
|
|
3917
3946
|
|
|
3918
|
-
[toFormData.ts:4](https://github.com/daysnap/utils/blob/
|
|
3947
|
+
[toFormData.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/toFormData.ts#L4)
|
|
3919
3948
|
|
|
3920
3949
|
___
|
|
3921
3950
|
|
|
@@ -3937,7 +3966,7 @@ ___
|
|
|
3937
3966
|
|
|
3938
3967
|
#### Defined in
|
|
3939
3968
|
|
|
3940
|
-
[toPosix.ts:4](https://github.com/daysnap/utils/blob/
|
|
3969
|
+
[toPosix.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/toPosix.ts#L4)
|
|
3941
3970
|
|
|
3942
3971
|
___
|
|
3943
3972
|
|
|
@@ -3961,7 +3990,7 @@ ___
|
|
|
3961
3990
|
|
|
3962
3991
|
#### Defined in
|
|
3963
3992
|
|
|
3964
|
-
[typeOf.ts:6](https://github.com/daysnap/utils/blob/
|
|
3993
|
+
[typeOf.ts:6](https://github.com/daysnap/utils/blob/b171b07/src/typeOf.ts#L6)
|
|
3965
3994
|
|
|
3966
3995
|
___
|
|
3967
3996
|
|
|
@@ -3989,7 +4018,7 @@ ___
|
|
|
3989
4018
|
|
|
3990
4019
|
#### Defined in
|
|
3991
4020
|
|
|
3992
|
-
[withCache.ts:4](https://github.com/daysnap/utils/blob/
|
|
4021
|
+
[withCache.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/withCache.ts#L4)
|
|
3993
4022
|
|
|
3994
4023
|
___
|
|
3995
4024
|
|
|
@@ -4018,4 +4047,4 @@ ___
|
|
|
4018
4047
|
|
|
4019
4048
|
#### Defined in
|
|
4020
4049
|
|
|
4021
|
-
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/
|
|
4050
|
+
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/b171b07/src/withPreventConsecutiveClicks.ts#L4)
|