CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
validate.d.ts18 linesDownload Raw Back to icon-set
1import { IconifyJSON } from "@iconify/types";2/**3 * Match character4 */5declare const matchChar: RegExp;6interface IconSetValidationOptions {7  /** Whether validation function will attempt to fix icon set instead of throwing errors. */8  fix?: boolean;9  /** Values for provider and prefix. If missing, validation should add them. */10  prefix?: string;11  provider?: string;12}13/**14 * Validate icon set15 * @returns param obj as IconifyJSON type on success, throw error on failure16 */17declare function validateIconSet(obj: unknown, options?: IconSetValidationOptions): IconifyJSON;18export { IconSetValidationOptions, matchChar, validateIconSet };
basant307/AI_Governance_Project · CoolFace