What to use for Boolean input output?

Haoyang
Haoyang New Altair Community Member
edited November 5 in Community Q&A
I am writing an extension and I want to use an input Port and an output Port to deliver and get boolean data.
However, when I tried to use Boolean Nodeyes=yesInput.getData(Boolean.class); , I got an error saying it should be Class <T> instead of Class <Boolean>.
Tagged:

Answers