hasPredecessor method

bool hasPredecessor(
  1. Node node
)

Implementation

bool hasPredecessor(Node node) => predecessorsOf(node).isNotEmpty;