Node.containsKey

bool containsKey(T)(T rhs) const

Determine if a mapping contains specified key.

Parameters

rhsKey to look for. Use YAMLNull to check for a null key.

Returns

true if rhs was found, false otherwise.

Throws

NodeException if the node is not a mapping.