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

x/windmill/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js>YAMLSet

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class YAMLSet
extends YAMLMap
import { YAMLSet } from "https://deno.land/x/windmill@v1.389.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js";

Constructors

new
YAMLSet(schema)

Methods

add(key)
get(key, keepPair)

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

set(key, value)
toJSON(_, ctx)
toString(
ctx,
onComment,
onChompKeep,
)