@storm-stack/types
Version:
⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.
11 lines (10 loc) • 464 B
TypeScript
import { AnyFunction } from "../utility-types/base";
export declare function isSyncFunction(value?: any): value is AnyFunction;
export declare function isAsyncFunction(value?: any): value is AnyFunction;
/**
* Check if the provided value's type is `Function`
*
* @param value - The value to type check
* @returns An indicator specifying if the value provided is of type `Function`
*/
export declare const isFunction: (value: unknown) => value is AnyFunction;