verifyNotRoot property

JsonPath<T> get verifyNotRoot

Implementation

JsonPath<T> get verifyNotRoot => isNotRoot ? this : throw Exception("Expected ${this} to not be root");