UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

10 lines (9 loc) 353 B
import { Widget } from '../widgets/Widget.js'; import type { LayerInit } from '../core/LayerInit.js'; /** * A validator function which checks whether an input value is a * {@link LayerInit}. Doesn't stop the validator chain. * * @category XML */ export declare function validateLayerInit(value: unknown): [value: LayerInit<Widget>, stop: boolean];