isRoot property

bool isRoot

Returns true if it's a root node (no inputs).

Implementation

bool get isRoot => _inputs.isEmpty;