mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
687 B
687 B
Home > bitburner > NS > getFunctionRamCost
NS.getFunctionRamCost() method
Get the ram cost of a netscript function.
Signature:
getFunctionRamCost(name: string): number;
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | string | The fully-qualified function name, without the leading ns. Example inputs: hack, tprint, stock.getPosition. |
Returns:
number
Remarks
RAM cost: 0 GB