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

x/windmill/node_modules/yaml/browser/index.js>YAMLSeq

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 YAMLSeq
extends Collection
import { YAMLSeq } from "https://deno.land/x/windmill@v1.67.0/node_modules/yaml/browser/index.js";

Constructors

new
YAMLSeq(schema)

Methods

add(value)
delete(key)

Removes a value from the collection.

key must contain a representation of an integer for this to succeed. It may be wrapped in a Scalar.

get(key, keepScalar)
has(key)

Checks if the collection includes a value with the key key.

key must contain a representation of an integer for this to succeed. It may be wrapped in a Scalar.

set(key, value)

Sets a value in this collection. For !!set, value needs to be a boolean to add/remove the item from the set.

If key does not contain a representation of an integer, this will throw. It may be wrapped in a Scalar.

toJSON(_, ctx)
toString(
ctx,
onComment,
onChompKeep,
)

Static Properties

readonly
tagName