UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

7 lines (6 loc) 267 B
/** * Type guard to check if a value is promise-like (has a `.then` method) * @param value - The value to check * @returns True if the value is promise-like, false otherwise */ export declare function isPromiseLike(value: unknown): value is PromiseLike<unknown>;