Home > bitburner > NS > getFunctionRamCost
Get the ram cost of a netscript function.
Signature:
getFunctionRamCost(name: string): number;
Parameter | Type | Description |
---|---|---|
name | string | The fully-qualified function name, without the leading ns . Example inputs: hack , tprint , stock.getPosition . |
Returns:
number
RAM cost: 0 GB