function findLocalNegativePatterns(positiveBase, negative) {
    return Object.keys(negative).reduce(function (collection, base) {
        if (base.startsWith(positiveBase)) {
            collection.push.apply(collection, __spread(negative[base]));
        }
        return collection;
    }, []);
}
function findLocalNegativePatterns(positiveBase, negative) {
    return Object.keys(negative).reduce(function (collection, base) {
        if (base.startsWith(positiveBase)) {
            collection.push.apply(collection, __spread(negative[base]));
        }
        return collection;
    }, []);
}
function findLocalNegativePatterns ( positiveBase , negative ) { return Object . keys ( negative ) . reduce ( function ( collection , base ) { if ( base . startsWith ( positiveBase ) ) { collection . push . apply ( collection , __spread ( negative [ base ] ) ) ; } return collection ; } , [ ] ) ; }
Returns those negative patterns whose base paths includes positive base path.
Returns those negative patterns whose base paths includes positive base path .