xdmp.binaryIsSmall( $source as binary() ) as Boolean
Check whether a binary node is a small binary.
|$source||A binary node|
A small binary is one whose size is below the large size threshold. See
For details, see "Working With Binary Documents" in the
Application Developer's Guide.
xdmp.binaryIsSmall(cts.doc("/logo.gif").root) => true if the binary content is below the large size threshold.