Difference between revisions of "Channel:hasRead"

(Created page)
 
m (0.11.0 -> 11.0)
 
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{newin|[[11.0]]|110|type=function}}
 
Gets whether a pushed value has been popped or otherwise removed from the Channel.
 
Gets whether a pushed value has been popped or otherwise removed from the Channel.
 
== Function ==
 
== Function ==

Latest revision as of 18:21, 7 May 2019

Available since LÖVE 11.0
This function is not supported in earlier versions.

Gets whether a pushed value has been popped or otherwise removed from the Channel.

Function

Synopsis

hasread = Channel:hasRead( id )

Arguments

number id
An id value previously returned by Channel:push.

Returns

boolean hasread
Whether the value represented by the id has been removed from the Channel via Channel:pop, Channel:demand, or Channel:clear.

See Also

Other Languages