Description

Tries to evaluate the underlying value the Pythonic-way:

Returns TRUE in one the following cases:

* int != 0
* uint != 0
* float != 0.0
* len(array/chan/map/slice/string) > 0
* bool == true
* underlying value is a struct

Otherwise returns always FALSE.

IsTrue is referenced in 1 repository

github.com/flosch/pongo2