import type { LibSchemaObject } from "./types.ts"; export type SingleType = Exclude; export const isPrimitiveType = (type: unknown): type is PrimitiveType => primitiveTypeList.includes(type as any); const primitiveTypeList = ["string", "number", "integer", "boolean", "null"] as const; export type PrimitiveType = (typeof primitiveTypeList)[number];