Helper function for determining if an object’s depth is greater than a given target.
A string, number, boolean, or null has depth 0, a list or dict of such objects has depth 1, etc.
Parameters: |
|
---|---|
Return type: | bool |
Returns: | True if the depth of obj is greater than target; False otherwise. |