lib/dht.js
function checkInterface(obj, funcs) {
    for (var i = 0; i < funcs.length; ++i) {
        if (typeof obj[funcs[i]] !== 'function')
            return false;
    }
    return true;
}
function checkInterface(obj, funcs) {
    for (var i = 0; i < funcs.length; ++i) {
        if (typeof obj[funcs[i]] !== 'function')
            return false;
    }
    return true;
}
function checkInterface ( obj , funcs ) { for ( var i = 0 ; i < funcs . length ; ++ i ) { if ( typeof obj [ funcs [ i ] ] !== 'function' ) return false ; } return true ; }
Check that an object possesses the specified functions.
Check that an object possesses the specified functions .