Buckets:

imerfanrajabee's picture
download
raw
236 Bytes
import { isFunction } from "./isFunction";
/**
* Tests to see if the object is "thennable".
* @param value the object to test
*/
export function isPromise(value: any): value is PromiseLike<any> {
return isFunction(value?.then);
}

Xet Storage Details

Size:
236 Bytes
·
Xet hash:
49ba88913da38fe7118fc38581c326eb103a3f9f968e9c6ad88f2cb2507a17ce

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