mirror of
https://github.com/pantor/inja.git
synced 2026-03-07 01:31:24 +00:00
* Add exists() function that checks existence of key Adds an exists() function that checks whether a given key exists in the data. If only one argument is provided to exists(), the global data is queried for the item. If two arguments are given, the first argument specifies the object to query for the key given as second argument. Also adds corresponding unit tests and updates README for documentation. * Split exists() into exists() and existsIn() Splits the exists() function, which previously took both one or two arguments, into an exists() function accepting one and an existsIn() function accepting two arguments.