function getPrototypeMember()

in lib/index.ts [287:299]


    function getPrototypeMember(name: string, obj: any): dom.ClassMember | undefined {
        // Skip non-function objects on the prototype (not sure what to do with these?)
        if (typeof obj !== 'function') {
            return undefined;
        }

        const funcType = getParameterListAndReturnType(obj, parseFunctionBody(obj));
        const result = create.method(name, funcType[0], funcType[1]);
        if (isNativeFunction(obj)) {
            result.comment = 'Native method; no parameter or return type inference available';
        }
        return result;
    }