syphonx-core
Version:
SyphonX is a template-driven solution for extracting data from HTML in a highly efficient way. It combines the power of jQuery, Regular Expressions, and Javascript into a declarative template-driven format that extracts and reshapes HTML data into JSON.
5 lines (4 loc) • 309 B
TypeScript
import { SelectType } from "../index.js";
export declare function coerce(value: unknown, type: string): unknown;
export declare function coerceSelectValue(value: unknown, type: SelectType | undefined, repeated?: boolean): unknown;
export declare function isCoercibleTo(value: unknown, type: string): boolean;