Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (16 loc) · 687 Bytes

bitburner.ns.getfunctionramcost.md

File metadata and controls

28 lines (16 loc) · 687 Bytes

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