Skip to main content
Module

x/evt/tools/typeSafety/isPromiseLike.ts

💧EventEmitter's typesafe replacement
Go to Latest
File

export function isPromiseLike<T = void>(o: any): o is PromiseLike<T> { return typeof o?.then === "function";}