Built-in functionsBoolean functionsVersion: v2On this pageBoolean functions binary binary(): int Returns an integer 1 if the receiver is true, 0 otherwise Input example <b>{{ true.binary() }}</b> Output <b>1</b>