Function: addGetByPathMethod()
addGetByPathMethod(
parsedEvents):ParsedEvents
Defined in: src/utils/events/index.ts:280
Add getByPath helper method to parsed events array This method allows finding events by partial key path matching
Parameters
parsedEvents
Array of parsed events to enhance
Returns
The same array with getByPath method attached
Example
const events = addGetByPathMethod(parsedEvents);
const transferEvent = events.getByPath('Transfer');