MarkLogic 12 EA 1 Product Documentation
sem.invalidDatatype

sem.invalidDatatype(
   val as sem.invalid
) as sem.iri

Summary

Returns the datatype IRI of a sem:invalid value.

This function is a built-in.

Parameters
val The sem:invalid value.

Example

sem.invalidDatatype(sem.invalid("invalid value", sem.iri("string")));
=>
string (as a sem:iri)
Powered by MarkLogic Server | Terms of Use | Privacy Policy