
sem.isLiteral( value as xs.anyAtomicType ) as Boolean
  Returns true if the argument is an RDF literal - that is, derived from
  type xs:anyAtomicType, but not derived from type sem:iri.
  This XQuery function backs up the SPARQL isLiteral() function.
  
This function is a built-in.
| Parameters | |
|---|---|
| value | The value to test. | 
sem.isLiteral("subject text");
=>
true
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.