MarkLogic Server 11.0 Product Documentation
fn:empty

fn:empty(
   $arg as item()*
) as xs:boolean

Summary

If the value of $arg is the empty sequence, the function returns true; otherwise, the function returns false.

Parameters
arg A sequence to test.

Example

fn:empty(fn:remove(("hello", "world"), 1))

=> false
Powered by MarkLogic Server | Terms of Use | Privacy Policy