hasKey

fnbool hasKey(const(CfNode) * self, string key) @property @safe pure nothrow

Checks if an object contains the given key.

Parameters

selfThe node pointer to query
keyThe key to look for

Returns

true if the key exists in the object, false otherwise.
fnbool hasKey(ref const CfNode self, string key) @property @safe pure nothrow

ditto