mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 00:23:49 +01:00
805 B
805 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