Skip to main content
Module

x/windmill/node_modules/yaml/dist/nodes/YAMLSeq.d.ts>YAMLSeq#set

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
method YAMLSeq.prototype.set
import { YAMLSeq } from "https://deno.land/x/windmill@v1.350.0/node_modules/yaml/dist/nodes/YAMLSeq.d.ts";

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.

Parameters

key: unknown
value: T