export const isPromiseLike = <T>(value: PromiseLike<T>) => value !== null && (typeof value === 'object' || typeof value === 'function') && typeof value.then === 'function'
export const isPromiseLike = <T>(value: PromiseLike<T>) => value !== null && (typeof value === 'object' || typeof value === 'function') && typeof value.then === 'function'