import { YAML } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { resolveAsScalar } = YAML.CST;
If token
is a CST flow or block scalar, determine its string value and a few other attributes.
Otherwise, return null
.
Parameters
token: FlowScalar | BlockScalar