sem.isNumeric
sem.isNumeric(
value as xs.anyAtomicType
) as Boolean
Summary
Returns true if the argument is a valid numeric RDF literal.
This XQuery function backs up the SPARQL isNumeric() function.
This function is a built-in.
Parameters |
value |
The value to test.
|
Example
sem.isNumeric(51);
=>
true
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.