dist/regular/loose/dejavu.js
function instanceOfInterface(instance, target) {
        var x,
            interfaces = instance.$static[$class].interfaces;

        for (x = interfaces.length - 1; x >= 0; x -= 1) {
            if (interfaces[x] === target || interfaceDescendantOf(interfaces[x], target)) {
                return true;
            }
        }

        return false;
    }
function instanceOfInterface(instance, target) {
        var x,
            interfaces = instance.$static[$class].interfaces;

        for (x = interfaces.length - 1; x >= 0; x -= 1) {
            if (interfaces[x] === target || interfaceDescendantOf(interfaces[x], target)) {
                return true;
            }
        }

        return false;
    }
function instanceOfInterface ( instance , target ) { var x , interfaces = instance . $static [ $class ] . interfaces ; for ( x = interfaces . length - 1 ; x >= 0 ; x -= 1 ) { if ( interfaces [ x ] === target || interfaceDescendantOf ( interfaces [ x ] , target ) ) { return true ; } } return false ; }
Check if an instance of a class is an instance of an interface.

@param {Object}   instance The instance to be checked
@param {Function} target   The interface

@return {Boolean} True if it is, false otherwise
Check if an instance of a class is an instance of an interface .