UNPKG

@flexbase/openapi-generator

Version:
8 lines (7 loc) 364 B
import { ParsedNode } from './parsed.node.js'; export type PrimativeTypes = 'string' | 'number' | 'boolean' | 'integer' | 'null'; export interface Primative extends ParsedNode { type: PrimativeTypes; } export declare const isPrimative: (value: ParsedNode) => value is Primative; export declare const comparePrimatives: (a: Primative, b: Primative) => boolean;