Loading TOC...

sem:isNumeric

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.