mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 21:25:47 +01:00
811 B
811 B
Home > bitburner > NS > tprintf
NS.tprintf() method
Prints a raw value or a variable to the Terminal.
Signature:
tprintf(format: string, ...values: any[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
format | string | Format of the message. |
values | any[] | Value(s) to be printed. |
Returns:
void
Remarks
RAM cost: 0 GB
-
See print for how to add color to your printed strings.
-
See printf for examples on formatted strings.
-
For more detail, see: https://github.com/alexei/sprintf.js