compress
Compresses bytes or text.
Target
Signature
1compress(value)Compresses bytes or text.
compress is a global callable that can be used wherever an expression is valid. compress works with structured document or media data. Keep parsing, transformation, and output steps separate enough that each step can be checked on its own.
Parameters
value- Required value. Supply
valuepositionally unless the signature shows a keyword form.
Examples
Basic call
1compress(bytes('hello'))The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.