/**
* @description nicoty.lib.servers.js - 1.85GB
* @license BlueOak-1.0.0
*/
;
/**
* @description Returns an array of the names of all discoverable servers in the game.
* @param {Object} object_arguments - Contains the arguments for the function.
* @param {Object} object_arguments.object_netscript - The Netscript environment.
* @param {string[]} [object_arguments.array_found] - Optional array containing found servers.
* @param {string[]} [object_arguments.array_visited] - Optional array containing visited servers.
* @returns {string[]} Contains the names of all discoverable servers in the game.
* @todo Return any errors?
*/
= parent;
};
/**
* @description If the provided array is empty, returns an array containing all discoverable servers in the game, otherwise, returns an array containing server names that matches some or all of an array of regular expression objects.
* @param {Object} object_arguments - Contains the arguments for the function.
* @param {Object} object_arguments.object_netscript - The Netscript environment.
* @param {Object[]} object_arguments.array_regexes - Contains regular expression objects that server names will be checked against.
* @param {boolean} object_arguments.boolean_all - Whether or not server names should match all or only some of the regular expressions.
* @returns {string[]} If the provided array was empty, contains all discoverable servers in the game, otherwise contains server names that matches some or all of an array of regular expression objects.
* @see {@link `updateMoneyGainRate`} {@link https://github.com/danielyxie/bitburner/blob/master/src/Hacknet/HacknetNode.ts|GitHub}.
*/
. === 0
?
: ;