of method

bool of(
  1. D dim
)

Whether this unit belongs to dim.

Implementation

bool of(D dim) => dim.isMine(this);