hasKeyAs

Checks if node has key of type.

Usage:

node.hasKeyAs!bool("useColor");
bool
hasKeyAs
(
T
)
(
Node node
,
string key
)

Parameters

node Node

Node to get key from

key string

Key name

Meta