hasKeyType

Checks if node has key of NodeType.

Usage:

node.hasKeyType!(NodeType.mapping)("keymap");
bool
hasKeyType
(
NodeType T
)
(
Node node
,
string key
)

Parameters

node Node

Node to get key from

key string

Key name

Meta