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

x/windmill/node_modules/yaml/dist/nodes/YAMLMap.d.ts>YAMLMap

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
namespace YAMLMap
import { YAMLMap } from "https://deno.land/x/windmill@v1.394.6/node_modules/yaml/dist/nodes/YAMLMap.d.ts";
class YAMLMap
extends Collection
import { YAMLMap } from "https://deno.land/x/windmill@v1.394.6/node_modules/yaml/dist/nodes/YAMLMap.d.ts";

Constructors

new
YAMLMap(schema?: Schema)

Type Parameters

optional
K = unknown
optional
V = unknown

Properties

items: Pair<K, V>[]

Methods

add(pair: Pair<K, V> | { key: K; value: V; }, overwrite?: boolean): void

Adds a value to the collection.

delete(key: unknown): boolean
get(key: unknown, keepScalar: true): Scalar<V> | undefined
get(key: unknown, keepScalar?: false): V | undefined
get(key: unknown, keepScalar?: boolean): V | Scalar<V> | undefined
has(key: unknown): boolean
set(key: K, value: V): void
toJSON<T extends MapLike = Map<unknown, unknown>>(
_?: unknown,
Type?: { new (): T; },
): any
toString(
onComment?: () => void,
onChompKeep?: () => void,
): string

Static Properties

readonly
tagName: "tag:yaml.org,2002:map"