dist/assert.esm.js
function match(value, regExp, message, id) {
    if (message === void 0) { message = ''; }
    if (id === void 0) { id = ''; }
    if (this.enabled && !regExp.test(value)) {
        throw LogicException.throw(assertionTypes.MATCH, value, message, id);
    }
}
function match(value, regExp, message, id) {
    if (message === void 0) { message = ''; }
    if (id === void 0) { id = ''; }
    if (this.enabled && !regExp.test(value)) {
        throw LogicException.throw(assertionTypes.MATCH, value, message, id);
    }
}
function match ( value , regExp , message , id ) { if ( message === void 0 ) { message = '' ; } if ( id === void 0 ) { id = '' ; } if ( this . enabled && ! regExp . test ( value ) ) { throw LogicException . throw ( assertionTypes . MATCH , value , message , id ) ; } }
Check if provided value match provided RegExp
@param {string} value
@param {RegExp} regExp
@param {string} message
@param {string} id
@returns {void}
Check if provided value match provided RegExp