sem.isNumeric( value as xs.anyAtomicType ) as Boolean
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. |
sem.isNumeric(51); => true
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.