dist/assert.esm.js
function isInstanceOf(value, expectedInstance, message, id) {
    if (message === void 0) { message = ''; }
    if (id === void 0) { id = ''; }
    if (this.enabled && !(value instanceof expectedInstance)) {
        throw ValueException.unexpectedValue(assertionTypes.INSTANCE_OF, value, expectedInstance, message, id);
    }
}
function isInstanceOf(value, expectedInstance, message, id) {
    if (message === void 0) { message = ''; }
    if (id === void 0) { id = ''; }
    if (this.enabled && !(value instanceof expectedInstance)) {
        throw ValueException.unexpectedValue(assertionTypes.INSTANCE_OF, value, expectedInstance, message, id);
    }
}
function isInstanceOf ( value , expectedInstance , message , id ) { if ( message === void 0 ) { message = '' ; } if ( id === void 0 ) { id = '' ; } if ( this . enabled && ! ( value instanceof expectedInstance ) ) { throw ValueException . unexpectedValue ( assertionTypes . INSTANCE_OF , value , expectedInstance , message , id ) ; } }
Check if provided value is an expected instance
@param value
@param {Function} expectedInstance
@param {string} message
@param {string} id
@returns {void}
Check if provided value is an expected instance