MarkLogic 12 EA 1 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy