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

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

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
function toJS
import { toJS } from "https://deno.land/x/windmill@v1.303.4/node_modules/yaml/dist/nodes/toJS.d.ts";

Recursively convert any node or its contents to native JavaScript

Parameters

value: any
  • The input value
arg: string | null
  • If value defines a toJSON() method, use this as its first argument
optional
ctx: ToJSContext
  • Conversion context, originally set in Document#toJS(). If { keep: true } is not set, output should be suitable for JSON stringification.