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

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

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

If keepPair is true, returns the Pair matching key. Otherwise, returns the value of that Pair's key.

Parameters

key: unknown
optional
keepPair: boolean