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

x/lume_langdata/deps.ts>YAML.Type

A Lume plugin for multi-language websites.
Latest
class YAML.Type
import { YAML } from "https://deno.land/x/lume_langdata@v2.0.6/deps.ts";
const { Type } = YAML;

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