• find a MethodId in a object or in its super type

    note:

    • methodName is a browse name and may therefore be prefixed with a namespace index.
    • if method is not found on the object specified by nodeId, then the findMethodId will recursively browse up the hierarchy of object typeDefinition Node until it reaches the root type. and try to find the first method that matches the provided name.

    Parameters

    Returns Promise<{
        methodId: NodeId;
    } | {
        err: Error;
        methodId: null;
    }>