@storm-stack/types
Version:
⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.
9 lines (8 loc) • 315 B
TypeScript
import { RefObject } from "../utility-types/base";
/**
* Check if the provided value's type is a ref
*
* @param value - The value to type check
* @returns An indicator specifying if the object provided is of type ref
*/
export declare const isRef: <TRef = unknown>(value: unknown) => value is RefObject<TRef>;