import { YAMLSeq } from "https://deno.land/x/windmill@v1.226.0/node_modules/yaml/dist/nodes/YAMLSeq.d.ts";
import { YAMLSeq } from "https://deno.land/x/windmill@v1.226.0/node_modules/yaml/dist/nodes/YAMLSeq.d.ts";
Constructors
Properties
Methods
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
.
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).
key
must contain a representation of an integer for this to succeed.
It may be wrapped in a Scalar
.
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
.
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
.