mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
14 lines
382 B
Markdown
14 lines
382 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [IPort](./bitburner.iport.md) > [peek](./bitburner.iport.peek.md)
|
||
|
|
||
|
## IPort.peek property
|
||
|
|
||
|
reads first element without removing it from port if no data in port returns "NULL PORT DATA"
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
peek: () => any;
|
||
|
```
|