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

std/encoding/_yaml/type.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.176.0/encoding/_yaml/type.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