YamlField

The Yaml field type used in Statamic.

Type Definition

YAML editor.

type 
YamlField
=
Record
<string, any> | string | null;
Example Yaml field
type Yaml = YamlField;
// Result: Record<string, any> | string | null