{{newin|[[0.9.0]]|090|type=function}}
Retrieves the value of a Channel message, but leaves it in the queue.

It returns nil if there's no message in the queue.
== Function ==
=== Synopsis ===
<source lang="lua">
value = Channel:peek( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|Variant|value|The contents of the message.}}
== See Also ==
* [[parent::Channel]]
* [[Channel:pop]]
[[Category:Functions]]
{{#set:Description=Receive a message from a thread Channel, but leave it in the queue.}}

== Other Languages ==
{{i18n|Channel:peek}}