UNPKG

@xraph/smartform-react

Version:

React library for rendering and validating SmartForms with shadcn components

15 lines (14 loc) 336 B
/** * Parses a string literal (e.g., 'text' or "text") */ export declare function parseStringLiteral(text: string): { value: string; isString: boolean; }; /** * Attempts to parse text as a numeric, boolean, or null literal. */ export declare function parseLiteral(text: string): { value: any; isLiteral: boolean; };