Skip to main content
Module

std/yaml/type.ts>Type

Deno standard library
Go to Latest
class Type
import { Type } from "https://deno.land/std@0.216.0/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