Hello!
Firstly let me clarify that check types are associated with individual connections, not with blocks. For example you could have one connection with a check of ['String'] and another connection with a check if ['Number'].
So to get the check of a connection you can do:
```
var block = /* get access to a block */
var check = block.getInput('MY_INPUT_NAME').connection.getCheck();
```
or the following for the non-input connections:
```
var check = block.outputConnection.getCheck();
var check = block.previousConnection.getCheck();
var check = block.nextConnection.getCheck();
```
Note that getCheck returns an *array of strings* not just a string.
I hope that helps! If you have any further questions please reply =)
Also, can I ask what this functionality is for? Sounds like part of an interesting problem!
Best wishes, I hope you have a lovely week!
--Beka