Function: isYamlWithMeta()
function isYamlWithMeta(
node:
| YAMLBlockMapping
| YAMLFlowMapping
| YAMLBlockSequence
| YAMLFlowSequence
| YAMLPlainScalar
| YAMLDoubleQuotedScalar
| YAMLSingleQuotedScalar
| YAMLBlockLiteralScalar
| YAMLBlockFoldedScalar
| YAMLAlias
| YAMLWithMeta
| YAMLPair
| YAMLProgram
| YAMLDocument
| YAMLDirectiveForYAML
| YAMLDirectiveForTAG
| YAMLDirectiveForUnknown
| YAMLAnchor
| YAMLTag
| null
| undefined
): node is YAMLWithMeta;
Defined in: _internal/workflow-yaml.ts:26
Narrow a YAML node to YAMLWithMeta.
Parametersโ
nodeโ
| YAMLBlockMapping
| YAMLFlowMapping
| YAMLBlockSequence
| YAMLFlowSequence
| YAMLPlainScalar
| YAMLDoubleQuotedScalar
| YAMLSingleQuotedScalar
| YAMLBlockLiteralScalar
| YAMLBlockFoldedScalar
| YAMLAlias
| YAMLWithMeta
| YAMLPair
| YAMLProgram
| YAMLDocument
| YAMLDirectiveForYAML
| YAMLDirectiveForTAG
| YAMLDirectiveForUnknown
| YAMLAnchor
| YAMLTag
| null
| undefined
Returnsโ
node is YAMLWithMeta