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

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

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

Returns item at path, 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

path: Iterable<unknown> | null
optional
keepScalar: boolean

Returns

unknown