lib/router.js
/*
 * checks if the routing data structures are empty
 * @return {Boolean}: true if empty, false otherwise
 */
checks if the routing data structures are empty
@return {Boolean}: true if empty, false otherwise
checks if the routing data structures are empty @return { Boolean } : true if empty false otherwise
function isClean() {
    var clean_meta = !Object.keys(meta_routing_table).length;
    var clean_locals = !Object.keys(locals_routiung_channels).length;
    var clean_remotes = !Object.keys(remote_routing_channels).length;
    var clean_monitor = (monitor_socket === null);
    return clean_meta && clean_locals && clean_remotes && clean_monitor;
}
function isClean ( ) { var clean_meta = ! Object . keys ( meta_routing_table ) . length ; var clean_locals = ! Object . keys ( locals_routiung_channels ) . length ; var clean_remotes = ! Object . keys ( remote_routing_channels ) . length ; var clean_monitor = ( monitor_socket === null ) ; return clean_meta && clean_locals && clean_remotes && clean_monitor ; }
checks if the routing data structures are empty
 @return {Boolean}: true if empty, false otherwise
checks if the routing data structures are empty @return { Boolean } : true if empty false otherwise