@uwdata/mosaic-plot
Version:
A Mosaic-powered plotting framework based on Observable Plot.
8 lines • 396 B
TypeScript
/**
* Utility to check if a value is a Param, and if so, bind a listener.
* @param {*} value A potentially Param-typed value.
* @param {(value: *) => Promise|void} update Update callback
* @returns the input value or (if a Param) the current Param value.
*/
export function handleParam(value: any, update: (value: any) => Promise<any> | void): any;
//# sourceMappingURL=handle-param.d.ts.map