Convert the input to a binary value.
Example:
{{ "Hello"|to_binary }}
Results in the binary value <<"Hello">>.
This filter uses the z_convert:to_binary/1 function.
See also
stringify
pprint
to_integer
Enter search terms or a module, class or function name.