isInternal property

bool get isInternal

Checks if this is an internal node

Implementation

bool get isInternal => left != null || right != null;