duster/js/test_cases/helpers_eq/README.md

16 lines
587 B
Markdown
Raw Normal View History

2020-05-10 18:22:59 +00:00
Without a key parameter, neither the main block nor the else block is rendered.
Literal values work in both keys and values.
2020-05-10 18:33:17 +00:00
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.
2020-05-16 18:48:04 +00:00
Non-Scalar Values
-----------------
For non-scalar values, it seems that dust does mark two values as true if they have the same path, but otherwise they are not equal.