Skip to main content

Home > blockly > IConnectionChecker > doTypeChecks

IConnectionChecker.doTypeChecks() method

Check whether this connection is compatible with another connection with respect to the value type system. E.g. square_root("Hello") is not compatible.

Signature:

doTypeChecks(a: Connection, b: Connection): boolean;

Parameters

ParameterTypeDescription
aConnectionConnection to compare.
bConnectionConnection to compare against.

Returns:

boolean

True if the connections share a type.