UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

8 lines (7 loc) 240 B
/** * A validator function which checks whether an input value is a function. * Doesn't stop the validator chain. * * @category XML */ export declare function validateFunction(value: unknown): [value: CallableFunction, stop: boolean];