Channel:hasRead

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