Convert the input to a binary value.
Example:
{{ "Hello"|to_binary }}
Results in the binary value <<"Hello">>.
<<"Hello">>
This filter uses the z_convert:to_binary/1 function.
z_convert:to_binary/1
See also
stringify