ngx-json-schema-viewer
Version:
<h1 align="center">ngx-json-schema-viewer</h1>
12 lines (11 loc) • 774 B
TypeScript
import type { JSONSchema, TypeValues } from "../types";
export declare const isObjectType: (schema: JSONSchema) => boolean;
export declare const isArrayType: (schema: JSONSchema) => boolean | undefined;
export declare const isStringType: (schema: JSONSchema) => boolean;
export declare const isNumeric: (schema: JSONSchema) => boolean;
export declare const isInteger: (schema: JSONSchema) => boolean;
export declare const isSchemaComposition: (schema: JSONSchema) => boolean;
export declare const isSchemaConditional: (schema: JSONSchema) => boolean;
export declare const isBoolean: (schema: JSONSchema) => boolean;
export declare const isNull: (schema: JSONSchema) => boolean;
export declare function detectedTypes(schema: Exclude<JSONSchema, true | false>): TypeValues[];