has
Tests whether the channel has a typed flag.
Function
Synopsis
channel_flags:has( flag )
Arguments
ChannelFlag flag- A constant from
mux.comsys.flags.
Returns
boolean presenttruewhen the flag is set, otherwisefalse.
Raises
mux.unavailable.checkingduring@lua/check.mux.channel.invalidif the originating channel was destroyed.mux.channel_flag.invalidifflagis not a typed constant from this Lua runtime.