-- coding: utf-8, tab-width: 2 --
searchObjKeys
obj
: The object in which to search for keyskeyWant
: The name (string) or pattern (regexp) to find in key names.maxDepth
: (optional) If a number, limit on how deep to dive. You can usetrue
as a shorthand forNumber.POSITIVE_INFINITY
. If neither a number nortrue
,defaultMaxDepth
is used.