UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

9 lines (8 loc) 278 B
import { type Box } from '../state/Box.js'; /** * A validator function which checks whether an input value is a {@link Box}. * Doesn't stop the validator chain. * * @category XML */ export declare function validateBox(value: unknown): [value: Box<unknown>, stop: boolean];