Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aether/deps.ts>YAML.Document#get

A Deno library to interface with the Discord API
Latest
method YAML.Document.prototype.get
import { YAML } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { Document } = YAML;

Returns item at key, or undefined if not found. By default unwraps scalar values from their surrounding node; to disable set keepScalar to true (collections are always returned intact).

Parameters

key: unknown
optional
keepScalar: boolean

Returns

unknown