import type { Compound, Value } from "./values"; import type { GenericEmbedded } from "./embedded"; import { Dictionary, Set } from "./dictionary"; export function isCompound(x: Value): x is Compound { return (Array.isArray(x) || Set.isSet(x) || Dictionary.isDictionary(x)); }