xdmp.binaryIsLarge( $source as binary() ) as Boolean
Check whether a binary node is a large binary.
|$source||The binary node to test.|
A large binary is one whose size is above the large size threshold.
admin:database-set-large-size-threshold. This function
returns false for small and external binary nodes. For details, see
"Working With Binary Documents" in the
Application Developer's Guide.
xdmp.binaryIsLarge(cts.doc("/logo.gif").root) => false