js/logEventMatcher/lemParser.js
/*
     * Returns true if the next token's type is one of the arguments. This is an
     * infinite-arity function
     * 
     * @param {...TokenType} args
     */
Returns true if the next token's type is one of the arguments. This is an
infinite-arity function


Returns true if the next token ' s type is one of the arguments . This is an infinite - arity function
function check(args) {
        if (!context.tokenizer.hasNext()) {
            return false;
        }
        var currType = peekType();
        for (var i = 0; i < arguments.length; i++) {
            if (currType == arguments[i]) {
                return true;
            }
        }
        return false;
    }
function check ( args ) { if ( ! context . tokenizer . hasNext ( ) ) { return false ; } var currType = peekType ( ) ; for ( var i = 0 ; i < arguments . length ; i ++ ) { if ( currType == arguments [ i ] ) { return true ; } } return false ; }
Returns true if the next token's type is one of the arguments.
Returns true if the next token ' s type is one of the arguments .