dist/assert.esm.js
function isEmpty(value, message, id) {
    if (message === void 0) { message = ''; }
    if (id === void 0) { id = ''; }
    if (this.enabled &&
        ((typeof value === 'string' && value.length === 0) ||
            (typeof value === 'number' && value === 0))) {
        throw LogicException.throw(assertionTypes.IS_EMPTY, value, message, id);
    }
}
function isEmpty(value, message, id) {
    if (message === void 0) { message = ''; }
    if (id === void 0) { id = ''; }
    if (this.enabled &&
        ((typeof value === 'string' && value.length === 0) ||
            (typeof value === 'number' && value === 0))) {
        throw LogicException.throw(assertionTypes.IS_EMPTY, value, message, id);
    }
}
function isEmpty ( value , message , id ) { if ( message === void 0 ) { message = '' ; } if ( id === void 0 ) { id = '' ; } if ( this . enabled && ( ( typeof value === 'string' && value . length === 0 ) || ( typeof value === 'number' && value === 0 ) ) ) { throw LogicException . throw ( assertionTypes . IS_EMPTY , value , message , id ) ; } }
Assert if given value is empty
@param value
@param {string} message
@param {string} id
@returns {void}
Assert if given value is empty