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

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

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

Constructors

new
Scalar(value: T)

Type Parameters

optional
T = unknown

Properties

optional
anchor: string

An optional anchor on this node. Used by alias nodes.

optional
format: string

By default (undefined), numbers use decimal notation. The YAML 1.2 core schema only supports 'HEX' and 'OCT'. The YAML 1.1 schema also supports 'BIN' and 'TIME'

optional
minFractionDigits: number

If value is a number, use this value when stringifying this node.

optional
source: string

Set during parsing to the source string value

optional
type: Scalar.Type

The scalar style used for the node's string representation

value: T

Methods

toJSON(arg?: any, ctx?: ToJSContext): any
toString(): string

Static Properties

readonly
BLOCK_FOLDED: string
readonly
BLOCK_LITERAL: string
readonly
PLAIN: string
readonly
QUOTE_DOUBLE: string
readonly
QUOTE_SINGLE: string