Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/deps/yaml.ts>Type

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
class Type
import { Type } from "https://deno.land/x/actionify@0.3.0/src/deps/yaml.ts";

Constructors

new
Type(tag: string, opts?: TypeConstructorOptions)

Properties

defaultStyle: string | null
instanceOf: object | null
kind:
| "sequence"
| "scalar"
| "mapping"
| null
multi: boolean
predicate: ((data: object) => boolean) | null
represent: ((data: object) => any) | { [x: string]: (data: object) => any; } | null
representName: ((data: object) => any) | null
styleAliases: { [x: string]: any; }

Methods

construct(data: any): any
resolve(data: any): boolean