MarkLogic 12 EA 1 Product Documentation
sem.unknownDatatype

sem.unknownDatatype(
   val as sem.unknown
) as sem.iri

Summary

Returns the datatype IRI of a sem:unknown value.

This function is a built-in.

Parameters
val The sem:unknown value.

Example

sem.unknownDatatype(sem.unknown("unknown value", sem.iri("string")));
=>
"string"
Powered by MarkLogic Server | Terms of Use | Privacy Policy