@daysnap/utils 0.1.21 → 0.1.23

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/modules.md CHANGED
@@ -151,6 +151,7 @@
151
151
  - [reserve](modules.md#reserve)
152
152
  - [rgbToHex](modules.md#rgbtohex)
153
153
  - [round](modules.md#round)
154
+ - [roundUpToNearestInteger](modules.md#rounduptonearestinteger)
154
155
  - [scrollToTop](modules.md#scrolltotop)
155
156
  - [setScrollTop](modules.md#setscrolltop)
156
157
  - [sleep](modules.md#sleep)
@@ -189,7 +190,7 @@
189
190
 
190
191
  #### Defined in
191
192
 
192
- [poller.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/poller.ts#L7)
193
+ [poller.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/poller.ts#L7)
193
194
 
194
195
  ## Variables
195
196
 
@@ -208,7 +209,7 @@
208
209
 
209
210
  #### Defined in
210
211
 
211
- [eventBus.ts:38](https://github.com/daysnap/utils/blob/6b0ba36/src/eventBus.ts#L38)
212
+ [eventBus.ts:38](https://github.com/daysnap/utils/blob/fb8fac4/src/eventBus.ts#L38)
212
213
 
213
214
  ___
214
215
 
@@ -218,7 +219,7 @@ ___
218
219
 
219
220
  #### Defined in
220
221
 
221
- [trap.ts:15](https://github.com/daysnap/utils/blob/6b0ba36/src/trap.ts#L15)
222
+ [trap.ts:15](https://github.com/daysnap/utils/blob/fb8fac4/src/trap.ts#L15)
222
223
 
223
224
  ## Functions
224
225
 
@@ -247,7 +248,7 @@ res = { '1': '男', '2': '女' }
247
248
 
248
249
  | Name | Type |
249
250
  | :------ | :------ |
250
- | `options` | `T`[] |
251
+ | `options` | readonly `T`[] |
251
252
  | `labelKey` | `K` |
252
253
 
253
254
  #### Returns
@@ -256,9 +257,9 @@ res = { '1': '男', '2': '女' }
256
257
 
257
258
  #### Defined in
258
259
 
259
- [ato.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/ato.ts#L12)
260
+ [ato.ts:12](https://github.com/daysnap/utils/blob/fb8fac4/src/ato.ts#L12)
260
261
 
261
- ▸ **ato**<`T`, `K`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `any`\>
262
+ ▸ **ato**<`T`, `K`, `V`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `T`[`V`]\>
262
263
 
263
264
  #### Type parameters
264
265
 
@@ -266,22 +267,23 @@ res = { '1': '男', '2': '女' }
266
267
  | :------ | :------ |
267
268
  | `T` | extends `Record`<`string`, `any`\> |
268
269
  | `K` | extends `string` \| `number` \| `symbol` |
270
+ | `V` | extends `string` \| `number` \| `symbol` |
269
271
 
270
272
  #### Parameters
271
273
 
272
274
  | Name | Type |
273
275
  | :------ | :------ |
274
- | `options` | `T`[] |
276
+ | `options` | readonly `T`[] |
275
277
  | `labelKey` | `K` |
276
- | `valueKey` | `K` |
278
+ | `valueKey` | `V` |
277
279
 
278
280
  #### Returns
279
281
 
280
- `Record`<`T`[`K`], `any`\>
282
+ `Record`<`T`[`K`], `T`[`V`]\>
281
283
 
282
284
  #### Defined in
283
285
 
284
- [ato.ts:16](https://github.com/daysnap/utils/blob/6b0ba36/src/ato.ts#L16)
286
+ [ato.ts:16](https://github.com/daysnap/utils/blob/fb8fac4/src/ato.ts#L16)
285
287
 
286
288
  ___
287
289
 
@@ -301,7 +303,7 @@ ___
301
303
 
302
304
  #### Defined in
303
305
 
304
- [decode.ts:41](https://github.com/daysnap/utils/blob/6b0ba36/src/decode.ts#L41)
306
+ [decode.ts:41](https://github.com/daysnap/utils/blob/fb8fac4/src/decode.ts#L41)
305
307
 
306
308
  ___
307
309
 
@@ -324,7 +326,7 @@ base64 转 blob
324
326
 
325
327
  #### Defined in
326
328
 
327
- [base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/base64ToBlob.ts#L6)
329
+ [base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/base64ToBlob.ts#L6)
328
330
 
329
331
  ___
330
332
 
@@ -346,7 +348,7 @@ blob 转 base64
346
348
 
347
349
  #### Defined in
348
350
 
349
- [blobToBase64.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/blobToBase64.ts#L4)
351
+ [blobToBase64.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/blobToBase64.ts#L4)
350
352
 
351
353
  ___
352
354
 
@@ -366,7 +368,7 @@ ___
366
368
 
367
369
  #### Defined in
368
370
 
369
- [decode.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/decode.ts#L8)
371
+ [decode.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/decode.ts#L8)
370
372
 
371
373
  ___
372
374
 
@@ -407,7 +409,7 @@ ___
407
409
 
408
410
  #### Defined in
409
411
 
410
- [cached.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/cached.ts#L5)
412
+ [cached.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/cached.ts#L5)
411
413
 
412
414
  ___
413
415
 
@@ -430,7 +432,7 @@ camelCase('hello-world') => helloWorld
430
432
 
431
433
  #### Defined in
432
434
 
433
- [camelCase.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/camelCase.ts#L5)
435
+ [camelCase.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/camelCase.ts#L5)
434
436
 
435
437
  ___
436
438
 
@@ -454,7 +456,7 @@ canvas 转 blob 文件
454
456
 
455
457
  #### Defined in
456
458
 
457
- [canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/canvasToBlob.ts#L4)
459
+ [canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/canvasToBlob.ts#L4)
458
460
 
459
461
  ___
460
462
 
@@ -477,7 +479,7 @@ capitalize('hello world') => Hello world
477
479
 
478
480
  #### Defined in
479
481
 
480
- [capitalize.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/capitalize.ts#L5)
482
+ [capitalize.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/capitalize.ts#L5)
481
483
 
482
484
  ___
483
485
 
@@ -502,7 +504,7 @@ ___
502
504
 
503
505
  #### Defined in
504
506
 
505
- [chooseMedia.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/chooseMedia.ts#L5)
507
+ [chooseMedia.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/chooseMedia.ts#L5)
506
508
 
507
509
  ___
508
510
 
@@ -526,7 +528,7 @@ ___
526
528
 
527
529
  #### Defined in
528
530
 
529
- [clamp.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/clamp.ts#L7)
531
+ [clamp.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/clamp.ts#L7)
530
532
 
531
533
  ___
532
534
 
@@ -554,7 +556,7 @@ ___
554
556
 
555
557
  #### Defined in
556
558
 
557
- [clone.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/clone.ts#L8)
559
+ [clone.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/clone.ts#L8)
558
560
 
559
561
  ___
560
562
 
@@ -582,7 +584,7 @@ ___
582
584
 
583
585
  #### Defined in
584
586
 
585
- [cloneSimple.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/cloneSimple.ts#L7)
587
+ [cloneSimple.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/cloneSimple.ts#L7)
586
588
 
587
589
  ___
588
590
 
@@ -604,7 +606,7 @@ ___
604
606
 
605
607
  #### Defined in
606
608
 
607
- [createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/createHexColorByHash.ts#L4)
609
+ [createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/createHexColorByHash.ts#L4)
608
610
 
609
611
  ___
610
612
 
@@ -630,7 +632,7 @@ ___
630
632
 
631
633
  #### Defined in
632
634
 
633
- [compareVersion.ts:9](https://github.com/daysnap/utils/blob/6b0ba36/src/compareVersion.ts#L9)
635
+ [compareVersion.ts:9](https://github.com/daysnap/utils/blob/fb8fac4/src/compareVersion.ts#L9)
634
636
 
635
637
  ___
636
638
 
@@ -653,7 +655,7 @@ ___
653
655
 
654
656
  #### Defined in
655
657
 
656
- [compressImage.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/compressImage.ts#L4)
658
+ [compressImage.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/compressImage.ts#L4)
657
659
 
658
660
  ___
659
661
 
@@ -675,7 +677,7 @@ ___
675
677
 
676
678
  #### Defined in
677
679
 
678
- [crToBr.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/crToBr.ts#L4)
680
+ [crToBr.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/crToBr.ts#L4)
679
681
 
680
682
  ___
681
683
 
@@ -703,7 +705,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
703
705
 
704
706
  #### Defined in
705
707
 
706
- [createFactory.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/createFactory.ts#L4)
708
+ [createFactory.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/createFactory.ts#L4)
707
709
 
708
710
  ___
709
711
 
@@ -741,7 +743,7 @@ ___
741
743
 
742
744
  #### Defined in
743
745
 
744
- [createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/6b0ba36/src/createLinearFunction.ts#L9)
746
+ [createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/fb8fac4/src/createLinearFunction.ts#L9)
745
747
 
746
748
  ___
747
749
 
@@ -773,7 +775,7 @@ ___
773
775
 
774
776
  #### Defined in
775
777
 
776
- [trap.ts:49](https://github.com/daysnap/utils/blob/6b0ba36/src/trap.ts#L49)
778
+ [trap.ts:49](https://github.com/daysnap/utils/blob/fb8fac4/src/trap.ts#L49)
777
779
 
778
780
  ___
779
781
 
@@ -836,7 +838,7 @@ fn() 执行的时候就会执行showLoading
836
838
 
837
839
  #### Defined in
838
840
 
839
- [createWithLoading.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/createWithLoading.ts#L11)
841
+ [createWithLoading.ts:11](https://github.com/daysnap/utils/blob/fb8fac4/src/createWithLoading.ts#L11)
840
842
 
841
843
  ___
842
844
 
@@ -858,7 +860,7 @@ ___
858
860
 
859
861
  #### Defined in
860
862
 
861
- [crlfToBr.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/crlfToBr.ts#L4)
863
+ [crlfToBr.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/crlfToBr.ts#L4)
862
864
 
863
865
  ___
864
866
 
@@ -901,7 +903,7 @@ ___
901
903
 
902
904
  #### Defined in
903
905
 
904
- [debounce.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/debounce.ts#L5)
906
+ [debounce.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/debounce.ts#L5)
905
907
 
906
908
  ___
907
909
 
@@ -925,7 +927,7 @@ ___
925
927
 
926
928
  #### Defined in
927
929
 
928
- [downloadFile.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/downloadFile.ts#L4)
930
+ [downloadFile.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/downloadFile.ts#L4)
929
931
 
930
932
  ___
931
933
 
@@ -954,7 +956,7 @@ ___
954
956
 
955
957
  #### Defined in
956
958
 
957
- [each.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/each.ts#L4)
959
+ [each.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/each.ts#L4)
958
960
 
959
961
  ▸ **each**<`T`\>(`data`, `callback`): `void`
960
962
 
@@ -977,7 +979,7 @@ ___
977
979
 
978
980
  #### Defined in
979
981
 
980
- [each.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/each.ts#L8)
982
+ [each.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/each.ts#L8)
981
983
 
982
984
  ___
983
985
 
@@ -995,7 +997,7 @@ ___
995
997
 
996
998
  #### Defined in
997
999
 
998
- [exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/exitFullscreen.ts#L6)
1000
+ [exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/exitFullscreen.ts#L6)
999
1001
 
1000
1002
  ___
1001
1003
 
@@ -1024,7 +1026,7 @@ ___
1024
1026
 
1025
1027
  #### Defined in
1026
1028
 
1027
- [storage/factory.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/storage/factory.ts#L11)
1029
+ [storage/factory.ts:11](https://github.com/daysnap/utils/blob/fb8fac4/src/storage/factory.ts#L11)
1028
1030
 
1029
1031
  ___
1030
1032
 
@@ -1046,7 +1048,7 @@ ___
1046
1048
 
1047
1049
  #### Defined in
1048
1050
 
1049
- [filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/filterBankCardNo.ts#L4)
1051
+ [filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/filterBankCardNo.ts#L4)
1050
1052
 
1051
1053
  ___
1052
1054
 
@@ -1076,7 +1078,7 @@ ___
1076
1078
 
1077
1079
  #### Defined in
1078
1080
 
1079
- [crlfToBr.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/crlfToBr.ts#L12)
1081
+ [crlfToBr.ts:12](https://github.com/daysnap/utils/blob/fb8fac4/src/crlfToBr.ts#L12)
1080
1082
 
1081
1083
  ___
1082
1084
 
@@ -1098,7 +1100,7 @@ ___
1098
1100
 
1099
1101
  #### Defined in
1100
1102
 
1101
- [filterEmoji.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/filterEmoji.ts#L4)
1103
+ [filterEmoji.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/filterEmoji.ts#L4)
1102
1104
 
1103
1105
  ___
1104
1106
 
@@ -1121,7 +1123,7 @@ ___
1121
1123
 
1122
1124
  #### Defined in
1123
1125
 
1124
- [filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/filterEmptyValue.ts#L12)
1126
+ [filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/fb8fac4/src/filterEmptyValue.ts#L12)
1125
1127
 
1126
1128
  ___
1127
1129
 
@@ -1144,7 +1146,7 @@ ___
1144
1146
 
1145
1147
  #### Defined in
1146
1148
 
1147
- [filterIdCard.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/filterIdCard.ts#L5)
1149
+ [filterIdCard.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/filterIdCard.ts#L5)
1148
1150
 
1149
1151
  ___
1150
1152
 
@@ -1166,7 +1168,7 @@ ___
1166
1168
 
1167
1169
  #### Defined in
1168
1170
 
1169
- [filterName.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/filterName.ts#L4)
1171
+ [filterName.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/filterName.ts#L4)
1170
1172
 
1171
1173
  ___
1172
1174
 
@@ -1191,7 +1193,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
1191
1193
 
1192
1194
  #### Defined in
1193
1195
 
1194
- [filterPhone.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/filterPhone.ts#L6)
1196
+ [filterPhone.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/filterPhone.ts#L6)
1195
1197
 
1196
1198
  ___
1197
1199
 
@@ -1218,7 +1220,7 @@ str = '131****8888'
1218
1220
 
1219
1221
  #### Defined in
1220
1222
 
1221
- [filterString.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/filterString.ts#L6)
1223
+ [filterString.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/filterString.ts#L6)
1222
1224
 
1223
1225
  ___
1224
1226
 
@@ -1241,7 +1243,7 @@ ___
1241
1243
 
1242
1244
  #### Defined in
1243
1245
 
1244
- [formatAmount.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/formatAmount.ts#L4)
1246
+ [formatAmount.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/formatAmount.ts#L4)
1245
1247
 
1246
1248
  ___
1247
1249
 
@@ -1265,7 +1267,7 @@ ___
1265
1267
 
1266
1268
  #### Defined in
1267
1269
 
1268
- [formatDate.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/formatDate.ts#L7)
1270
+ [formatDate.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/formatDate.ts#L7)
1269
1271
 
1270
1272
  ___
1271
1273
 
@@ -1296,7 +1298,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
1296
1298
 
1297
1299
  #### Defined in
1298
1300
 
1299
- [formatDateStr.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/formatDateStr.ts#L6)
1301
+ [formatDateStr.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/formatDateStr.ts#L6)
1300
1302
 
1301
1303
  ___
1302
1304
 
@@ -1316,7 +1318,7 @@ ___
1316
1318
 
1317
1319
  #### Defined in
1318
1320
 
1319
- [formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/formartDateToZN.ts#L4)
1321
+ [formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/formartDateToZN.ts#L4)
1320
1322
 
1321
1323
  ___
1322
1324
 
@@ -1339,7 +1341,7 @@ ___
1339
1341
 
1340
1342
  #### Defined in
1341
1343
 
1342
- [formatFileSize.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/formatFileSize.ts#L4)
1344
+ [formatFileSize.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/formatFileSize.ts#L4)
1343
1345
 
1344
1346
  ___
1345
1347
 
@@ -1362,7 +1364,7 @@ yyyyMMdd -> yyyy-MM-dd
1362
1364
 
1363
1365
  #### Defined in
1364
1366
 
1365
- [formatGapDate.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/formatGapDate.ts#L4)
1367
+ [formatGapDate.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/formatGapDate.ts#L4)
1366
1368
 
1367
1369
  ___
1368
1370
 
@@ -1387,7 +1389,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
1387
1389
 
1388
1390
  #### Defined in
1389
1391
 
1390
- [formatMessage.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/formatMessage.ts#L11)
1392
+ [formatMessage.ts:11](https://github.com/daysnap/utils/blob/fb8fac4/src/formatMessage.ts#L11)
1391
1393
 
1392
1394
  ___
1393
1395
 
@@ -1419,7 +1421,7 @@ rest = { xxx: 1 }
1419
1421
 
1420
1422
  #### Defined in
1421
1423
 
1422
- [formatPathParams.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/formatPathParams.ts#L8)
1424
+ [formatPathParams.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/formatPathParams.ts#L8)
1423
1425
 
1424
1426
  ___
1425
1427
 
@@ -1441,7 +1443,7 @@ ___
1441
1443
 
1442
1444
  #### Defined in
1443
1445
 
1444
- [getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getBlobByUrl.ts#L4)
1446
+ [getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/getBlobByUrl.ts#L4)
1445
1447
 
1446
1448
  ___
1447
1449
 
@@ -1464,7 +1466,7 @@ ___
1464
1466
 
1465
1467
  #### Defined in
1466
1468
 
1467
- [storage/index.ts:10](https://github.com/daysnap/utils/blob/6b0ba36/src/storage/index.ts#L10)
1469
+ [storage/index.ts:10](https://github.com/daysnap/utils/blob/fb8fac4/src/storage/index.ts#L10)
1468
1470
 
1469
1471
  ___
1470
1472
 
@@ -1487,7 +1489,7 @@ ___
1487
1489
 
1488
1490
  #### Defined in
1489
1491
 
1490
- [getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/getDateBoundsByMonths.ts#L8)
1492
+ [getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/getDateBoundsByMonths.ts#L8)
1491
1493
 
1492
1494
  ▸ **getDateBoundsByMonths**(`monthsCount`, `date`, `fmt`): [`string`, `string`]
1493
1495
 
@@ -1505,7 +1507,7 @@ ___
1505
1507
 
1506
1508
  #### Defined in
1507
1509
 
1508
- [getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/getDateBoundsByMonths.ts#L12)
1510
+ [getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/fb8fac4/src/getDateBoundsByMonths.ts#L12)
1509
1511
 
1510
1512
  ___
1511
1513
 
@@ -1527,7 +1529,7 @@ ___
1527
1529
 
1528
1530
  #### Defined in
1529
1531
 
1530
- [getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getDayMillisecond.ts#L4)
1532
+ [getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/getDayMillisecond.ts#L4)
1531
1533
 
1532
1534
  ___
1533
1535
 
@@ -1550,7 +1552,7 @@ ___
1550
1552
 
1551
1553
  #### Defined in
1552
1554
 
1553
- [getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getDaysOfMonth.ts#L4)
1555
+ [getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/getDaysOfMonth.ts#L4)
1554
1556
 
1555
1557
  ___
1556
1558
 
@@ -1573,7 +1575,7 @@ ___
1573
1575
 
1574
1576
  #### Defined in
1575
1577
 
1576
- [getImageInfo.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getImageInfo.ts#L4)
1578
+ [getImageInfo.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/getImageInfo.ts#L4)
1577
1579
 
1578
1580
  ___
1579
1581
 
@@ -1596,7 +1598,7 @@ ___
1596
1598
 
1597
1599
  #### Defined in
1598
1600
 
1599
- [storage/index.ts:10](https://github.com/daysnap/utils/blob/6b0ba36/src/storage/index.ts#L10)
1601
+ [storage/index.ts:10](https://github.com/daysnap/utils/blob/fb8fac4/src/storage/index.ts#L10)
1600
1602
 
1601
1603
  ___
1602
1604
 
@@ -1618,7 +1620,7 @@ ___
1618
1620
 
1619
1621
  #### Defined in
1620
1622
 
1621
- [getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getMonthBounds.ts#L7)
1623
+ [getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/getMonthBounds.ts#L7)
1622
1624
 
1623
1625
  ▸ **getMonthBounds**(`value`, `fmt`): [`string`, `string`]
1624
1626
 
@@ -1635,7 +1637,7 @@ ___
1635
1637
 
1636
1638
  #### Defined in
1637
1639
 
1638
- [getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/getMonthBounds.ts#L8)
1640
+ [getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/getMonthBounds.ts#L8)
1639
1641
 
1640
1642
  ___
1641
1643
 
@@ -1658,7 +1660,7 @@ ___
1658
1660
 
1659
1661
  #### Defined in
1660
1662
 
1661
- [getRandom.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getRandom.ts#L7)
1663
+ [getRandom.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/getRandom.ts#L7)
1662
1664
 
1663
1665
  ___
1664
1666
 
@@ -1674,7 +1676,7 @@ ___
1674
1676
 
1675
1677
  #### Defined in
1676
1678
 
1677
- [getRandomColor.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getRandomColor.ts#L4)
1679
+ [getRandomColor.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/getRandomColor.ts#L4)
1678
1680
 
1679
1681
  ___
1680
1682
 
@@ -1696,7 +1698,7 @@ ___
1696
1698
 
1697
1699
  #### Defined in
1698
1700
 
1699
- [getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getRandomNumber.ts#L7)
1701
+ [getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/getRandomNumber.ts#L7)
1700
1702
 
1701
1703
  ___
1702
1704
 
@@ -1719,7 +1721,7 @@ ___
1719
1721
 
1720
1722
  #### Defined in
1721
1723
 
1722
- [getRangeDate.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getRangeDate.ts#L7)
1724
+ [getRangeDate.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/getRangeDate.ts#L7)
1723
1725
 
1724
1726
  ▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
1725
1727
 
@@ -1737,7 +1739,7 @@ ___
1737
1739
 
1738
1740
  #### Defined in
1739
1741
 
1740
- [getRangeDate.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/getRangeDate.ts#L11)
1742
+ [getRangeDate.ts:11](https://github.com/daysnap/utils/blob/fb8fac4/src/getRangeDate.ts#L11)
1741
1743
 
1742
1744
  ___
1743
1745
 
@@ -1753,7 +1755,7 @@ ___
1753
1755
 
1754
1756
  #### Defined in
1755
1757
 
1756
- [getScrollTop.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getScrollTop.ts#L4)
1758
+ [getScrollTop.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/getScrollTop.ts#L4)
1757
1759
 
1758
1760
  ___
1759
1761
 
@@ -1775,7 +1777,7 @@ ___
1775
1777
 
1776
1778
  #### Defined in
1777
1779
 
1778
- [getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/getVideoInfo.ts#L4)
1780
+ [getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/getVideoInfo.ts#L4)
1779
1781
 
1780
1782
  ___
1781
1783
 
@@ -1798,7 +1800,7 @@ ___
1798
1800
 
1799
1801
  #### Defined in
1800
1802
 
1801
- [getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/getWeekBounds.ts#L7)
1803
+ [getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/getWeekBounds.ts#L7)
1802
1804
 
1803
1805
  ▸ **getWeekBounds**(`value`, `sundayIsFirstDay`, `fmt`): [`string`, `string`]
1804
1806
 
@@ -1816,7 +1818,7 @@ ___
1816
1818
 
1817
1819
  #### Defined in
1818
1820
 
1819
- [getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/getWeekBounds.ts#L11)
1821
+ [getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/fb8fac4/src/getWeekBounds.ts#L11)
1820
1822
 
1821
1823
  ___
1822
1824
 
@@ -1839,7 +1841,7 @@ ___
1839
1841
 
1840
1842
  #### Defined in
1841
1843
 
1842
- [getWeekday.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/getWeekday.ts#L6)
1844
+ [getWeekday.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/getWeekday.ts#L6)
1843
1845
 
1844
1846
  ___
1845
1847
 
@@ -1855,7 +1857,7 @@ ___
1855
1857
 
1856
1858
  #### Defined in
1857
1859
 
1858
- [inBrowser.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/inBrowser.ts#L4)
1860
+ [inBrowser.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/inBrowser.ts#L4)
1859
1861
 
1860
1862
  ___
1861
1863
 
@@ -1877,7 +1879,7 @@ ___
1877
1879
 
1878
1880
  #### Defined in
1879
1881
 
1880
- [insertLink.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/insertLink.ts#L4)
1882
+ [insertLink.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/insertLink.ts#L4)
1881
1883
 
1882
1884
  ▸ **insertLink**(`href`, `callback`): `void`
1883
1885
 
@@ -1894,7 +1896,7 @@ ___
1894
1896
 
1895
1897
  #### Defined in
1896
1898
 
1897
- [insertLink.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/insertLink.ts#L5)
1899
+ [insertLink.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/insertLink.ts#L5)
1898
1900
 
1899
1901
  ___
1900
1902
 
@@ -1916,7 +1918,7 @@ ___
1916
1918
 
1917
1919
  #### Defined in
1918
1920
 
1919
- [insertScript.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/insertScript.ts#L4)
1921
+ [insertScript.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/insertScript.ts#L4)
1920
1922
 
1921
1923
  ▸ **insertScript**(`src`, `callback`): `void`
1922
1924
 
@@ -1933,7 +1935,7 @@ ___
1933
1935
 
1934
1936
  #### Defined in
1935
1937
 
1936
- [insertScript.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/insertScript.ts#L5)
1938
+ [insertScript.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/insertScript.ts#L5)
1937
1939
 
1938
1940
  ___
1939
1941
 
@@ -1955,7 +1957,7 @@ ___
1955
1957
 
1956
1958
  #### Defined in
1957
1959
 
1958
- [insertStyle.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/insertStyle.ts#L4)
1960
+ [insertStyle.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/insertStyle.ts#L4)
1959
1961
 
1960
1962
  ___
1961
1963
 
@@ -1984,7 +1986,7 @@ isAmount('1.123') => false
1984
1986
 
1985
1987
  #### Defined in
1986
1988
 
1987
- [isAmount.ts:11](https://github.com/daysnap/utils/blob/6b0ba36/src/isAmount.ts#L11)
1989
+ [isAmount.ts:11](https://github.com/daysnap/utils/blob/fb8fac4/src/isAmount.ts#L11)
1988
1990
 
1989
1991
  ___
1990
1992
 
@@ -2000,7 +2002,7 @@ ___
2000
2002
 
2001
2003
  #### Defined in
2002
2004
 
2003
- [isAndroid.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isAndroid.ts#L4)
2005
+ [isAndroid.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isAndroid.ts#L4)
2004
2006
 
2005
2007
  ___
2006
2008
 
@@ -2024,7 +2026,7 @@ val is any[]
2024
2026
 
2025
2027
  #### Defined in
2026
2028
 
2027
- [isArray.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isArray.ts#L6)
2029
+ [isArray.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/isArray.ts#L6)
2028
2030
 
2029
2031
  ___
2030
2032
 
@@ -2046,7 +2048,7 @@ val is boolean
2046
2048
 
2047
2049
  #### Defined in
2048
2050
 
2049
- [isBoolean.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isBoolean.ts#L5)
2051
+ [isBoolean.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/isBoolean.ts#L5)
2050
2052
 
2051
2053
  ___
2052
2054
 
@@ -2068,7 +2070,7 @@ ___
2068
2070
 
2069
2071
  #### Defined in
2070
2072
 
2071
- [isChinese.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isChinese.ts#L4)
2073
+ [isChinese.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isChinese.ts#L4)
2072
2074
 
2073
2075
  ___
2074
2076
 
@@ -2090,7 +2092,7 @@ val is Date
2090
2092
 
2091
2093
  #### Defined in
2092
2094
 
2093
- [isDate.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isDate.ts#L4)
2095
+ [isDate.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isDate.ts#L4)
2094
2096
 
2095
2097
  ___
2096
2098
 
@@ -2112,7 +2114,7 @@ ___
2112
2114
 
2113
2115
  #### Defined in
2114
2116
 
2115
- [isEmail.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isEmail.ts#L4)
2117
+ [isEmail.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isEmail.ts#L4)
2116
2118
 
2117
2119
  ___
2118
2120
 
@@ -2134,7 +2136,7 @@ ___
2134
2136
 
2135
2137
  #### Defined in
2136
2138
 
2137
- [isEmpty.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isEmpty.ts#L6)
2139
+ [isEmpty.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/isEmpty.ts#L6)
2138
2140
 
2139
2141
  ___
2140
2142
 
@@ -2156,7 +2158,7 @@ ___
2156
2158
 
2157
2159
  #### Defined in
2158
2160
 
2159
- [isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isEmptyArray.ts#L6)
2161
+ [isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/isEmptyArray.ts#L6)
2160
2162
 
2161
2163
  ___
2162
2164
 
@@ -2178,7 +2180,7 @@ ___
2178
2180
 
2179
2181
  #### Defined in
2180
2182
 
2181
- [isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isEmptyObject.ts#L5)
2183
+ [isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/isEmptyObject.ts#L5)
2182
2184
 
2183
2185
  ___
2184
2186
 
@@ -2200,7 +2202,7 @@ val is Error
2200
2202
 
2201
2203
  #### Defined in
2202
2204
 
2203
- [isError.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isError.ts#L4)
2205
+ [isError.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isError.ts#L4)
2204
2206
 
2205
2207
  ___
2206
2208
 
@@ -2222,7 +2224,7 @@ val is Function
2222
2224
 
2223
2225
  #### Defined in
2224
2226
 
2225
- [isFunction.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isFunction.ts#L4)
2227
+ [isFunction.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isFunction.ts#L4)
2226
2228
 
2227
2229
  ___
2228
2230
 
@@ -2240,7 +2242,7 @@ ___
2240
2242
 
2241
2243
  #### Defined in
2242
2244
 
2243
- [isIE.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isIE.ts#L6)
2245
+ [isIE.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/isIE.ts#L6)
2244
2246
 
2245
2247
  ___
2246
2248
 
@@ -2256,7 +2258,7 @@ ___
2256
2258
 
2257
2259
  #### Defined in
2258
2260
 
2259
- [isIOS.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isIOS.ts#L4)
2261
+ [isIOS.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isIOS.ts#L4)
2260
2262
 
2261
2263
  ___
2262
2264
 
@@ -2278,7 +2280,7 @@ ___
2278
2280
 
2279
2281
  #### Defined in
2280
2282
 
2281
- [isIdCard.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isIdCard.ts#L4)
2283
+ [isIdCard.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isIdCard.ts#L4)
2282
2284
 
2283
2285
  ___
2284
2286
 
@@ -2300,7 +2302,7 @@ ___
2300
2302
 
2301
2303
  #### Defined in
2302
2304
 
2303
- [isJSONString.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/isJSONString.ts#L7)
2305
+ [isJSONString.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/isJSONString.ts#L7)
2304
2306
 
2305
2307
  ___
2306
2308
 
@@ -2322,7 +2324,7 @@ ___
2322
2324
 
2323
2325
  #### Defined in
2324
2326
 
2325
- [isLan.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isLan.ts#L5)
2327
+ [isLan.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/isLan.ts#L5)
2326
2328
 
2327
2329
  ___
2328
2330
 
@@ -2345,7 +2347,7 @@ ___
2345
2347
 
2346
2348
  #### Defined in
2347
2349
 
2348
- [isLeapYear.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isLeapYear.ts#L5)
2350
+ [isLeapYear.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/isLeapYear.ts#L5)
2349
2351
 
2350
2352
  ___
2351
2353
 
@@ -2367,7 +2369,7 @@ ___
2367
2369
 
2368
2370
  #### Defined in
2369
2371
 
2370
- [isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isLicenseCode.ts#L5)
2372
+ [isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/isLicenseCode.ts#L5)
2371
2373
 
2372
2374
  ___
2373
2375
 
@@ -2383,7 +2385,7 @@ ___
2383
2385
 
2384
2386
  #### Defined in
2385
2387
 
2386
- [isMobile.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isMobile.ts#L4)
2388
+ [isMobile.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isMobile.ts#L4)
2387
2389
 
2388
2390
  ___
2389
2391
 
@@ -2406,7 +2408,7 @@ ___
2406
2408
 
2407
2409
  #### Defined in
2408
2410
 
2409
- [isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/isNativeFunction.ts#L7)
2411
+ [isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/isNativeFunction.ts#L7)
2410
2412
 
2411
2413
  ___
2412
2414
 
@@ -2428,7 +2430,7 @@ val is null
2428
2430
 
2429
2431
  #### Defined in
2430
2432
 
2431
- [isNull.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isNull.ts#L4)
2433
+ [isNull.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isNull.ts#L4)
2432
2434
 
2433
2435
  ___
2434
2436
 
@@ -2450,7 +2452,7 @@ val is number
2450
2452
 
2451
2453
  #### Defined in
2452
2454
 
2453
- [isNumber.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isNumber.ts#L5)
2455
+ [isNumber.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/isNumber.ts#L5)
2454
2456
 
2455
2457
  ___
2456
2458
 
@@ -2472,7 +2474,7 @@ val is Record<string, any\>
2472
2474
 
2473
2475
  #### Defined in
2474
2476
 
2475
- [isObject.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isObject.ts#L4)
2477
+ [isObject.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isObject.ts#L4)
2476
2478
 
2477
2479
  ___
2478
2480
 
@@ -2494,7 +2496,7 @@ ___
2494
2496
 
2495
2497
  #### Defined in
2496
2498
 
2497
- [isPhone.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isPhone.ts#L4)
2499
+ [isPhone.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isPhone.ts#L4)
2498
2500
 
2499
2501
  ___
2500
2502
 
@@ -2522,7 +2524,7 @@ val is Promise<T\>
2522
2524
 
2523
2525
  #### Defined in
2524
2526
 
2525
- [isPromise.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isPromise.ts#L4)
2527
+ [isPromise.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isPromise.ts#L4)
2526
2528
 
2527
2529
  ___
2528
2530
 
@@ -2544,7 +2546,7 @@ val is RegExp
2544
2546
 
2545
2547
  #### Defined in
2546
2548
 
2547
- [isRegExp.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isRegExp.ts#L4)
2549
+ [isRegExp.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isRegExp.ts#L4)
2548
2550
 
2549
2551
  ___
2550
2552
 
@@ -2566,7 +2568,7 @@ val is string
2566
2568
 
2567
2569
  #### Defined in
2568
2570
 
2569
- [isString.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isString.ts#L4)
2571
+ [isString.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isString.ts#L4)
2570
2572
 
2571
2573
  ___
2572
2574
 
@@ -2595,7 +2597,7 @@ val is T
2595
2597
 
2596
2598
  #### Defined in
2597
2599
 
2598
- [isType.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isType.ts#L4)
2600
+ [isType.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isType.ts#L4)
2599
2601
 
2600
2602
  ___
2601
2603
 
@@ -2617,7 +2619,7 @@ val is undefined
2617
2619
 
2618
2620
  #### Defined in
2619
2621
 
2620
- [isUndefined.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isUndefined.ts#L4)
2622
+ [isUndefined.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isUndefined.ts#L4)
2621
2623
 
2622
2624
  ___
2623
2625
 
@@ -2661,7 +2663,7 @@ ___
2661
2663
 
2662
2664
  #### Defined in
2663
2665
 
2664
- [isValidDate.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/isValidDate.ts#L6)
2666
+ [isValidDate.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/isValidDate.ts#L6)
2665
2667
 
2666
2668
  ___
2667
2669
 
@@ -2677,7 +2679,7 @@ ___
2677
2679
 
2678
2680
  #### Defined in
2679
2681
 
2680
- [isWeChat.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/isWeChat.ts#L4)
2682
+ [isWeChat.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/isWeChat.ts#L4)
2681
2683
 
2682
2684
  ___
2683
2685
 
@@ -2694,7 +2696,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
2694
2696
 
2695
2697
  #### Defined in
2696
2698
 
2697
- [isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isWeChatMiniProgram.ts#L5)
2699
+ [isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/isWeChatMiniProgram.ts#L5)
2698
2700
 
2699
2701
  ___
2700
2702
 
@@ -2718,7 +2720,7 @@ ___
2718
2720
 
2719
2721
  #### Defined in
2720
2722
 
2721
- [isWeChat.ts:12](https://github.com/daysnap/utils/blob/6b0ba36/src/isWeChat.ts#L12)
2723
+ [isWeChat.ts:12](https://github.com/daysnap/utils/blob/fb8fac4/src/isWeChat.ts#L12)
2722
2724
 
2723
2725
  ___
2724
2726
 
@@ -2740,7 +2742,7 @@ val is Window
2740
2742
 
2741
2743
  #### Defined in
2742
2744
 
2743
- [isWindow.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/isWindow.ts#L5)
2745
+ [isWindow.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/isWindow.ts#L5)
2744
2746
 
2745
2747
  ___
2746
2748
 
@@ -2763,7 +2765,7 @@ kebabCase('helloWorld') => hello-world
2763
2765
 
2764
2766
  #### Defined in
2765
2767
 
2766
- [kebabCase.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/kebabCase.ts#L5)
2768
+ [kebabCase.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/kebabCase.ts#L5)
2767
2769
 
2768
2770
  ___
2769
2771
 
@@ -2785,7 +2787,7 @@ ___
2785
2787
 
2786
2788
  #### Defined in
2787
2789
 
2788
- [lfToBr.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/lfToBr.ts#L4)
2790
+ [lfToBr.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/lfToBr.ts#L4)
2789
2791
 
2790
2792
  ___
2791
2793
 
@@ -2807,7 +2809,7 @@ list 生成器,快速生成数据
2807
2809
 
2808
2810
  #### Defined in
2809
2811
 
2810
- [listGenerator.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/listGenerator.ts#L5)
2812
+ [listGenerator.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/listGenerator.ts#L5)
2811
2813
 
2812
2814
  ▸ **listGenerator**<`T`\>(`length`, `fn`): `T`[]
2813
2815
 
@@ -2830,7 +2832,7 @@ list 生成器,快速生成数据
2830
2832
 
2831
2833
  #### Defined in
2832
2834
 
2833
- [listGenerator.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/listGenerator.ts#L6)
2835
+ [listGenerator.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/listGenerator.ts#L6)
2834
2836
 
2835
2837
  ___
2836
2838
 
@@ -2850,7 +2852,7 @@ ___
2850
2852
 
2851
2853
  #### Defined in
2852
2854
 
2853
- [makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/6b0ba36/src/makePhoneCall.ts#L1)
2855
+ [makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/fb8fac4/src/makePhoneCall.ts#L1)
2854
2856
 
2855
2857
  ___
2856
2858
 
@@ -2875,7 +2877,7 @@ ___
2875
2877
 
2876
2878
  #### Defined in
2877
2879
 
2878
- [mousewheel.ts:22](https://github.com/daysnap/utils/blob/6b0ba36/src/mousewheel.ts#L22)
2880
+ [mousewheel.ts:22](https://github.com/daysnap/utils/blob/fb8fac4/src/mousewheel.ts#L22)
2879
2881
 
2880
2882
  ___
2881
2883
 
@@ -2891,7 +2893,7 @@ ___
2891
2893
 
2892
2894
  #### Defined in
2893
2895
 
2894
- [nf.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/nf.ts#L4)
2896
+ [nf.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/nf.ts#L4)
2895
2897
 
2896
2898
  ___
2897
2899
 
@@ -2915,7 +2917,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
2915
2917
 
2916
2918
  #### Defined in
2917
2919
 
2918
- [normalizeDate.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/normalizeDate.ts#L8)
2920
+ [normalizeDate.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/normalizeDate.ts#L8)
2919
2921
 
2920
2922
  ___
2921
2923
 
@@ -2937,7 +2939,7 @@ ___
2937
2939
 
2938
2940
  #### Defined in
2939
2941
 
2940
- [normalizePath.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/normalizePath.ts#L4)
2942
+ [normalizePath.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/normalizePath.ts#L4)
2941
2943
 
2942
2944
  ___
2943
2945
 
@@ -2967,7 +2969,7 @@ ___
2967
2969
 
2968
2970
  #### Defined in
2969
2971
 
2970
- [omit.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/omit.ts#L4)
2972
+ [omit.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/omit.ts#L4)
2971
2973
 
2972
2974
  ___
2973
2975
 
@@ -2991,7 +2993,7 @@ ___
2991
2993
 
2992
2994
  #### Defined in
2993
2995
 
2994
- [padding.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/padding.ts#L7)
2996
+ [padding.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/padding.ts#L7)
2995
2997
 
2996
2998
  ___
2997
2999
 
@@ -3017,7 +3019,7 @@ ___
3017
3019
 
3018
3020
  #### Defined in
3019
3021
 
3020
- [parseDate.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/parseDate.ts#L5)
3022
+ [parseDate.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/parseDate.ts#L5)
3021
3023
 
3022
3024
  ___
3023
3025
 
@@ -3043,7 +3045,7 @@ ___
3043
3045
 
3044
3046
  #### Defined in
3045
3047
 
3046
- parseDecimalString.ts:5
3048
+ [parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/parseDecimalString.ts#L5)
3047
3049
 
3048
3050
  ___
3049
3051
 
@@ -3066,7 +3068,7 @@ ___
3066
3068
 
3067
3069
  #### Defined in
3068
3070
 
3069
- [parseError.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/parseError.ts#L8)
3071
+ [parseError.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/parseError.ts#L8)
3070
3072
 
3071
3073
  ___
3072
3074
 
@@ -3091,7 +3093,7 @@ x0123 => ''
3091
3093
 
3092
3094
  #### Defined in
3093
3095
 
3094
- parseNumberString.ts:7
3096
+ [parseNumberString.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/parseNumberString.ts#L7)
3095
3097
 
3096
3098
  ___
3097
3099
 
@@ -3121,7 +3123,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
3121
3123
 
3122
3124
  #### Defined in
3123
3125
 
3124
- [parseObject.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/parseObject.ts#L5)
3126
+ [parseObject.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/parseObject.ts#L5)
3125
3127
 
3126
3128
  ___
3127
3129
 
@@ -3150,7 +3152,7 @@ ___
3150
3152
 
3151
3153
  #### Defined in
3152
3154
 
3153
- [parsePath.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/parsePath.ts#L6)
3155
+ [parsePath.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/parsePath.ts#L6)
3154
3156
 
3155
3157
  ___
3156
3158
 
@@ -3173,7 +3175,7 @@ ___
3173
3175
 
3174
3176
  #### Defined in
3175
3177
 
3176
- [parseQuery.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/parseQuery.ts#L8)
3178
+ [parseQuery.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/parseQuery.ts#L8)
3177
3179
 
3178
3180
  ___
3179
3181
 
@@ -3203,7 +3205,7 @@ ___
3203
3205
 
3204
3206
  #### Defined in
3205
3207
 
3206
- [parseQueryString.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/parseQueryString.ts#L6)
3208
+ [parseQueryString.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/parseQueryString.ts#L6)
3207
3209
 
3208
3210
  ___
3209
3211
 
@@ -3226,7 +3228,7 @@ pascalCase('hello-world') => HelloWorld
3226
3228
 
3227
3229
  #### Defined in
3228
3230
 
3229
- [pascalCase.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/pascalCase.ts#L8)
3231
+ [pascalCase.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/pascalCase.ts#L8)
3230
3232
 
3231
3233
  ___
3232
3234
 
@@ -3256,7 +3258,7 @@ ___
3256
3258
 
3257
3259
  #### Defined in
3258
3260
 
3259
- [pick.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/pick.ts#L4)
3261
+ [pick.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/pick.ts#L4)
3260
3262
 
3261
3263
  ___
3262
3264
 
@@ -3279,7 +3281,7 @@ ___
3279
3281
 
3280
3282
  #### Defined in
3281
3283
 
3282
- [replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/replaceCrlf.ts#L4)
3284
+ [replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/replaceCrlf.ts#L4)
3283
3285
 
3284
3286
  ___
3285
3287
 
@@ -3303,7 +3305,7 @@ ___
3303
3305
 
3304
3306
  #### Defined in
3305
3307
 
3306
- [requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/requestFullScreen.ts#L6)
3308
+ [requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/requestFullScreen.ts#L6)
3307
3309
 
3308
3310
  ___
3309
3311
 
@@ -3329,7 +3331,7 @@ reserve(0, '--') => 0
3329
3331
 
3330
3332
  #### Defined in
3331
3333
 
3332
- [reserve.ts:8](https://github.com/daysnap/utils/blob/6b0ba36/src/reserve.ts#L8)
3334
+ [reserve.ts:8](https://github.com/daysnap/utils/blob/fb8fac4/src/reserve.ts#L8)
3333
3335
 
3334
3336
  ___
3335
3337
 
@@ -3353,7 +3355,7 @@ ___
3353
3355
 
3354
3356
  #### Defined in
3355
3357
 
3356
- [rgbToHex.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/rgbToHex.ts#L4)
3358
+ [rgbToHex.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/rgbToHex.ts#L4)
3357
3359
 
3358
3360
  ___
3359
3361
 
@@ -3376,7 +3378,32 @@ ___
3376
3378
 
3377
3379
  #### Defined in
3378
3380
 
3379
- [round.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/round.ts#L6)
3381
+ [round.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/round.ts#L6)
3382
+
3383
+ ___
3384
+
3385
+ ### roundUpToNearestInteger
3386
+
3387
+ ▸ **roundUpToNearestInteger**(`num`): `number`
3388
+
3389
+ 向上圆整最接近的整数
3390
+ 0 => 1
3391
+ 123 => 200
3392
+ -123 => -200
3393
+
3394
+ #### Parameters
3395
+
3396
+ | Name | Type |
3397
+ | :------ | :------ |
3398
+ | `num` | `number` |
3399
+
3400
+ #### Returns
3401
+
3402
+ `number`
3403
+
3404
+ #### Defined in
3405
+
3406
+ [roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/roundUpToNearestInteger.ts#L7)
3380
3407
 
3381
3408
  ___
3382
3409
 
@@ -3392,7 +3419,7 @@ ___
3392
3419
 
3393
3420
  #### Defined in
3394
3421
 
3395
- [scrollToTop.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/scrollToTop.ts#L4)
3422
+ [scrollToTop.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/scrollToTop.ts#L4)
3396
3423
 
3397
3424
  ___
3398
3425
 
@@ -3414,7 +3441,7 @@ ___
3414
3441
 
3415
3442
  #### Defined in
3416
3443
 
3417
- [setScrollTop.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/setScrollTop.ts#L4)
3444
+ [setScrollTop.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/setScrollTop.ts#L4)
3418
3445
 
3419
3446
  ___
3420
3447
 
@@ -3438,7 +3465,7 @@ ___
3438
3465
 
3439
3466
  #### Defined in
3440
3467
 
3441
- [sleep.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/sleep.ts#L7)
3468
+ [sleep.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/sleep.ts#L7)
3442
3469
 
3443
3470
  ___
3444
3471
 
@@ -3467,7 +3494,7 @@ ___
3467
3494
 
3468
3495
  #### Defined in
3469
3496
 
3470
- [splitArray.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/splitArray.ts#L4)
3497
+ [splitArray.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/splitArray.ts#L4)
3471
3498
 
3472
3499
  ___
3473
3500
 
@@ -3490,7 +3517,7 @@ ___
3490
3517
 
3491
3518
  #### Defined in
3492
3519
 
3493
- [stringTrim.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/stringTrim.ts#L6)
3520
+ [stringTrim.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/stringTrim.ts#L6)
3494
3521
 
3495
3522
  ___
3496
3523
 
@@ -3512,7 +3539,7 @@ ___
3512
3539
 
3513
3540
  #### Defined in
3514
3541
 
3515
- [stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/6b0ba36/src/stringifyQuery.ts#L7)
3542
+ [stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/fb8fac4/src/stringifyQuery.ts#L7)
3516
3543
 
3517
3544
  ___
3518
3545
 
@@ -3536,7 +3563,7 @@ ___
3536
3563
 
3537
3564
  #### Defined in
3538
3565
 
3539
- [stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/stringifyQueryString.ts#L6)
3566
+ [stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/stringifyQueryString.ts#L6)
3540
3567
 
3541
3568
  ___
3542
3569
 
@@ -3580,7 +3607,7 @@ ___
3580
3607
 
3581
3608
  #### Defined in
3582
3609
 
3583
- [throttle.ts:48](https://github.com/daysnap/utils/blob/6b0ba36/src/throttle.ts#L48)
3610
+ [throttle.ts:48](https://github.com/daysnap/utils/blob/fb8fac4/src/throttle.ts#L48)
3584
3611
 
3585
3612
  ___
3586
3613
 
@@ -3623,7 +3650,7 @@ ___
3623
3650
 
3624
3651
  #### Defined in
3625
3652
 
3626
- [throttle.ts:5](https://github.com/daysnap/utils/blob/6b0ba36/src/throttle.ts#L5)
3653
+ [throttle.ts:5](https://github.com/daysnap/utils/blob/fb8fac4/src/throttle.ts#L5)
3627
3654
 
3628
3655
  ___
3629
3656
 
@@ -3666,7 +3693,7 @@ ___
3666
3693
 
3667
3694
  #### Defined in
3668
3695
 
3669
- [throttle.ts:25](https://github.com/daysnap/utils/blob/6b0ba36/src/throttle.ts#L25)
3696
+ [throttle.ts:25](https://github.com/daysnap/utils/blob/fb8fac4/src/throttle.ts#L25)
3670
3697
 
3671
3698
  ___
3672
3699
 
@@ -3688,7 +3715,7 @@ ___
3688
3715
 
3689
3716
  #### Defined in
3690
3717
 
3691
- [toCDB.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/toCDB.ts#L4)
3718
+ [toCDB.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/toCDB.ts#L4)
3692
3719
 
3693
3720
  ___
3694
3721
 
@@ -3710,7 +3737,7 @@ ___
3710
3737
 
3711
3738
  #### Defined in
3712
3739
 
3713
- [toDBC.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/toDBC.ts#L4)
3740
+ [toDBC.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/toDBC.ts#L4)
3714
3741
 
3715
3742
  ___
3716
3743
 
@@ -3734,7 +3761,7 @@ ___
3734
3761
 
3735
3762
  #### Defined in
3736
3763
 
3737
- [typeOf.ts:6](https://github.com/daysnap/utils/blob/6b0ba36/src/typeOf.ts#L6)
3764
+ [typeOf.ts:6](https://github.com/daysnap/utils/blob/fb8fac4/src/typeOf.ts#L6)
3738
3765
 
3739
3766
  ___
3740
3767
 
@@ -3762,7 +3789,7 @@ ___
3762
3789
 
3763
3790
  #### Defined in
3764
3791
 
3765
- [withCache.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/withCache.ts#L4)
3792
+ [withCache.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/withCache.ts#L4)
3766
3793
 
3767
3794
  ___
3768
3795
 
@@ -3791,4 +3818,4 @@ ___
3791
3818
 
3792
3819
  #### Defined in
3793
3820
 
3794
- [withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/6b0ba36/src/withPreventConsecutiveClicks.ts#L4)
3821
+ [withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/fb8fac4/src/withPreventConsecutiveClicks.ts#L4)