isType method

bool isType(
  1. Type t
)

checks if valueType is equal to input type

Implementation

bool isType(Type t) => valueType == t;