checkVariable static method
Implementation
static XPathValue checkVariable(String name, XPathValue? value) {
if (value != null) return value;
throw XPathEvaluationException('Undeclared variable "$name"');
}
static XPathValue checkVariable(String name, XPathValue? value) {
if (value != null) return value;
throw XPathEvaluationException('Undeclared variable "$name"');
}