## xs:boolean Server Expression

A server expression that returns a value of (or implicitly castable to) the xs:boolean server type. For all server types, see the Server Expression Type Hierarchy.

### Cast With

Server Return Type | Server Function | Java Doc
--- | --- | ---
xs:boolean? | xs:boolean(item arg1?) | java

### Parameter Of

Server Return Type | Server Function | Java Doc | Server Doc
--- | --- | --- | ---
item* | json:array-values(json:array array, xs:boolean flatten?) | java | server
item* | sem:if(xs:boolean condition, item then*, item else*) | java | server
xs:string | xdmp:path(node node, xs:boolean include-document?) | java | server
xs:string | xdmp:url-encode(xs:string plaintext, xs:boolean noSpacePlus?) | java | server

### Return Value Of

Server Return Type | Server Function | Java Doc | Server Doc
--- | --- | --- | ---
xs:boolean | fn:boolean(item arg*) | java | server
xs:boolean? | fn:codepoint-equal(xs:string comparand1?, xs:string comparand2?) | java | server
xs:boolean | fn:contains(xs:string parameter1?, xs:string parameter2?, xs:string collation) | java | server
xs:boolean? | fn:deep-equal(item parameter1*, item parameter2*, xs:string collation) | java | server
xs:boolean | fn:empty(item arg*) | java | server
xs:boolean | fn:ends-with(xs:string parameter1?, xs:string parameter2?, xs:string collation) | java | server
xs:boolean | fn:exists(item arg*) | java | server
xs:boolean | fn:false() | java | server
xs:boolean | fn:lang(xs:string testlang?, node node?) | java | server
xs:boolean? | fn:matches(xs:string input?, xs:string pattern, xs:string flags) | java | server
xs:boolean? | fn:nilled(node arg?) | java | server
xs:boolean | fn:not(item arg*) | java | server
xs:boolean | fn:starts-with(xs:string parameter1?, xs:string parameter2?, xs:string collation) | java | server
xs:boolean | fn:true() | java | server
xs:boolean | geo:box-intersects(cts:box box, cts:region region*, xs:string options*) | java | server
xs:boolean | geo:circle-intersects(cts:circle circle, cts:region region*, xs:string options*) | java | server
xs:boolean | geo:contains(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:covered-by(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:covers(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:crosses(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:disjoint(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:equals(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:intersects(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:overlaps(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:region-contains(cts:region target, cts:region region*, xs:string options*) | java | server
xs:boolean | geo:region-intersects(cts:region target, cts:region region*, xs:string options*) | java | server
xs:boolean | geo:region-relate(cts:region region-1, xs:string operation, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:touches(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | geo:validate-wkt(xs:string wkt) | java | server
xs:boolean | geo:within(cts:region region-1, cts:region region-2, xs:string options*) | java | server
xs:boolean | map:contains(map:map map, xs:string key) | java | server
xs:boolean | sem:isBlank(xs:anyAtomicType value) | java | server
xs:boolean | sem:isIRI(xs:anyAtomicType value) | java | server
xs:boolean | sem:isLiteral(xs:anyAtomicType value) | java | server
xs:boolean | sem:isNumeric(xs:anyAtomicType value) | java | server
xs:boolean | sem:langMatches(xs:string lang-tag, xs:string lang-range) | java | server
xs:boolean | sem:sameTerm(xs:anyAtomicType a*, xs:anyAtomicType b*) | java | server
xs:boolean? | sql:glob(xs:string input?, xs:string pattern) | java | server
xs:boolean? | sql:like(xs:string input?, xs:string pattern, xs:string escape) | java | server
xs:boolean | xdmp:castable-as(xs:string namespace-uri, xs:string local-name, item item?) | java | server