const a = Symbol.for("yaml.alias"), y = Symbol.for("yaml.document"), o = Symbol.for("yaml.map"), l = Symbol.for("yaml.pair"), r = Symbol.for("yaml.scalar"), s = Symbol.for("yaml.seq"), c = Symbol.for("yaml.node.type"), i = (t) => !!t && typeof t == "object" && t[c] === a, m = (t) => !!t && typeof t == "object" && t[c] === y, b = (t) => !!t && typeof t == "object" && t[c] === o, p = (t) => !!t && typeof t == "object" && t[c] === l, e = (t) => !!t && typeof t == "object" && t[c] === r, S = (t) => !!t && typeof t == "object" && t[c] === s;
function f(t) {
  if (t && typeof t == "object")
    switch (t[c]) {
      case o:
      case s:
        return !0;
    }
  return !1;
}
function n(t) {
  if (t && typeof t == "object")
    switch (t[c]) {
      case a:
      case o:
      case r:
      case s:
        return !0;
    }
  return !1;
}
const u = (t) => (e(t) || f(t)) && !!t.anchor;
export {
  a as ALIAS,
  y as DOC,
  o as MAP,
  c as NODE_TYPE,
  l as PAIR,
  r as SCALAR,
  s as SEQ,
  u as hasAnchor,
  i as isAlias,
  f as isCollection,
  m as isDocument,
  b as isMap,
  n as isNode,
  p as isPair,
  e as isScalar,
  S as isSeq
};
