Show Menu
Cheatography

ember-truth-helpers Cheat Sheet by

ember-truth-helpers npm modul cheat sheet

Helper­-ex­amp­le-­meaning

eq
{{if (eq a b)}}
if (a === b)
not-eq
{{if (not-eq a b)}}
if (a !== b)
not
{{if (not a)}}
if (!a)
and
{{if (and a b)}}
if (a && b)
or
{{if (or a b)}}
if (a || b)
xor
{{if (xor a b)}}
if (a && !b || !a && b)
gt
{{if (gt a b)}}
if (a > b)
gte
{{if (gte a b)}}
if (a >= b)
lt
{{if (lt a b)}}
if (a < b)
lte
{{if (lte a b)}}
if (a <= b)
is-array
{{if (is-array a)}}
if (Ember.is­Arr­ay(a))
is-empty
{{if (is-empty a)}}
if (Ember.is­Emp­ty(a))
is-equal
{{if (is-equal a b)}}
if (Ember.is­Equ­al(a, b))

Help Us Go Positive!

We offset our carbon usage with Ecologi. Click the link below to help us!

We offset our carbon footprint via Ecologi
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Ember.js Cheat Sheet
          UNDERSTANDING SCRIPTURE Cheat Sheet