no built in test for is 'mapping' type #35

amj opened this Issue May 18, 2011 · 2 comments


2 participants

amj commented May 18, 2011

jinja has built in tests for testing if a variable is a string, a unicode string, a sequence, a number, or an iterable, but no built-in test for if an object is a map/dict.

As one of the basic python types, it might make sense to have a builtin test for this type.


mitsuhiko commented May 24, 2011

Makes sense. Implemented.

@mitsuhiko mitsuhiko closed this May 24, 2011

amj commented May 26, 2011

great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment