Techiio-author
Started by Bruce MccullamOct 6, 2021

Open
sameas condition for equality test in jinja2 template

1 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 1 VIEWES SHARE

Is sameas() in jinaj2 strictly to check booleans (true, false?)

It doesn't work the same as the equal test and I am wondering what is the use case of it beside checking booleans.

"Check if an object points to the same memory address..."

https://jinja.palletsprojects.com/en/2.10.x/templates/#sameas

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance