signalIsValidName

Validate a signal name. This can be useful for dynamically-generated signals which need to be validated at run-time before actually trying to create them.

See [canonical parameter names][canonical-parameter-names] for details of the rules for valid names. The rules for signal names are the same as those for property names.

bool
signalIsValidName
(
string name
)

Parameters

name string

the canonical name of the signal

Return Value

Type: bool

true if name is a valid signal name, false otherwise.