CfNodeRef.getOr
T getOr(T)(string key, T defaultValue = T.init) const @safe pure nothrowGets a value by key with a default fallback.
Parameters
key | The key to look up |
defaultValue | Value to return if key is not found |
Returns
The value converted to type T, or defaultValue if not found.