Signals

cansignalreplicate

Checks whether a signal can replicate through the supported signal replication layer.

Syntax

cansignalreplicate(signal: userdata): boolean

Arguments

NameTypeDescription
signaluserdataSignal or event object to inspect or fire.

Returns

NameTypeDescription
canReplicatebooleanTrue when this signal can use the replication helper.

Description

Checks whether a signal can replicate through the supported signal replication layer.

Call it with 1 parameter(s): signal. The argument table explains which values are required and which ones only refine the behavior.

It returns canReplicate (boolean). Use the returns table to separate successful values from nil results and recoverable errors.

Example

Example call with placeholder values.

local result = cansignalreplicate(game)
print(result)