Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (8 sloc) 272 Bytes

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.

.. seealso:: :ref:`filter-stringify`