mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
32 lines
605 B
Markdown
32 lines
605 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [tprintf](./bitburner.ns.tprintf.md)
|
|
|
|
## NS.tprintf() method
|
|
|
|
Prints a raw value or a variable to the Terminal.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
tprintf(format: string, ...values: any[]): void;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| format | string | format of the message |
|
|
| values | any\[\] | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
void
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0 GB
|
|
|
|
see: https://github.com/alexei/sprintf.js
|
|
|