import { YAML } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { YAMLMap } = YAML;
Adds a value to the collection.
Parameters
pair: Pair<K, V> | { key: K; value: V; }
- If not set
true
, using a key that is already in the collection will throw. Otherwise, overwrites the previous value.