Skip to main content

Home > blockly > inputs > Input > setCheck

inputs.Input.setCheck() method

Change a connection's compatibility.

Signature:

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

Parameters

ParameterTypeDescription
checkstring | string[] | nullCompatible value type or list of value types. Null if all types are compatible.

Returns:

Input

The input being modified (to allow chaining).