Stay organized with collections Save and categorize content based on your preferences.

blockly > Connection > setCheck

Connection.setCheck() method

Change a connection's compatibility.

Signature:

setCheck(check: string | string[] | null): Connection;

Parameters

Parameter Type Description
check string | string[] | null Compatible value type or list of value types. Null if all types are compatible.

Returns:

Connection

The connection being modified (to allow chaining).