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

std/encoding/yaml.ts>Type

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Type
import { Type } from "https://deno.land/std@0.145.0/encoding/yaml.ts";

Constructors

new
Type(tag: string, options?: TypeOptions)

Properties

construct: (data?: Any) => Any
optional
defaultStyle: StyleVariant
instanceOf: Any
kind: KindType | null
optional
loadKind: KindType
optional
predicate: (data: Record<string, unknown>) => boolean
optional
represent: RepresentFn | ArrayObject<RepresentFn>
resolve: (data?: Any) => boolean
optional
styleAliases: ArrayObject
tag: string