Buckets:
| import { isFunction } from './isFunction'; | |
| import { isScheduler } from './isScheduler'; | |
| function last(arr) { | |
| return arr[arr.length - 1]; | |
| } | |
| export function popResultSelector(args) { | |
| return isFunction(last(args)) ? args.pop() : undefined; | |
| } | |
| export function popScheduler(args) { | |
| return isScheduler(last(args)) ? args.pop() : undefined; | |
| } | |
| export function popNumber(args, defaultValue) { | |
| return typeof last(args) === 'number' ? args.pop() : defaultValue; | |
| } | |
| //# sourceMappingURL=args.js.map |
Xet Storage Details
- Size:
- 500 Bytes
- Xet hash:
- 6f18808f1c729899f0e0a7e506ab568e50dfaf4e5246c411c9e83c4a08848ee9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.