duster/js/test_cases/helpers_eq
Tom Alexander c8cf6a78a0
Extending the equality helper test.
2020-05-10 14:33:17 -04:00
..
README.md Extending the equality helper test. 2020-05-10 14:33:17 -04:00
input1.json Extending the equality helper test. 2020-05-10 14:33:17 -04:00
main.dust Extending the equality helper test. 2020-05-10 14:33:17 -04:00

README.md

Without a key parameter, neither the main block nor the else block is rendered.

Literal values work in both keys and values.

Can't Walk Theory

Assuming a missing value = cantwalk and a non-existent key = cantwalk then their equality makes sense.

The null tests have proven that absent parameters and missing values do not equal null and therefore it is not just making all falsey values equal.