react-formal
Version:
Classy HTML form management for React
7 lines (6 loc) • 444 B
TypeScript
export declare const toArray: <T>(arr?: T | T[] | null | undefined) => T[];
export declare function isQuoted(str: string): boolean | "";
export declare function clean(part: string): string;
export declare function inPath(basePath: string, childPath: string): boolean;
export declare function reduce(paths: string[]): string[];
export declare function trim(rootPath: string, pathHash: Record<string, any>, exact?: boolean): Record<string, any>;