canRead method

bool canRead(
  1. Type type,
  2. Register registerType,
  3. int address
)

Implementation

bool canRead(Type type, Register registerType, int address) => type == T;