Below you'll see a helper I created called Boolmoji - it will show a ✔️ or ❌ instead of boolean values.
⬇️ Result | Source ➡️
- Boolmoji(true) ⇒ ✔️
- Boolmoji(false) ⇒ ❌
@inherits Custom.Hybrid.RazorTyped
@functions {
string Boolmoji(bool value) { return value ? "✔️" : "❌"; }
}
<ul>
<li>Boolmoji(true) ⇒ @Boolmoji(true)</li>
<li>Boolmoji(false) ⇒ @Boolmoji(false)</li>
</ul>