download
raw
325 Bytes
'use strict'
/**
* @param {any} maybePromiseLike
* @returns {maybePromiseLike is PromiseLike}
*/
function isPromiseLike (maybePromiseLike) {
return (
maybePromiseLike !== null &&
typeof maybePromiseLike === 'object' &&
typeof maybePromiseLike.then === 'function'
)
}
module.exports = {
isPromiseLike
}

Xet Storage Details

Size:
325 Bytes
·
Xet hash:
a1d276cf5705f773e5dd4286c1e55f7fb1b70699e57f40e9747197ba3ff84c8f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.