TLA+ and PlusCal don’t really have types. You can check for things like x \in Nat or x \in BOOLEAN to see whether it is in a given set of values.
Andrew
On Tuesday, July 25, 2023 at 9:41:50 PM UTC-4 christin...@xxxxxxxxx wrote:
Is there a built in function to check the type of a variable in Pluscal? Something similar to typeid in c++? I've tried searching but I can't find anything.