deepFind

Function

Traverse a graph locating an entry that passes the predicate

  • deepFind(object: any, predicate: function(object: any) : boolean) : any

Parameters

Parameter Type Default Notes
object Required any
predicate Required function(object: any) : boolean

Returns

any

Function defined in common/src/objects/deepFind.ts:49