class

Crinja::Operator

Inherits Reference < Object

Jinja's membership operators in / not in. Crinja ships neither, so the documented {% if "tutorial" in page.tags %} failed to parse. in lexes as a plain IDENTIFIER (the for tag matches it by value), so the comparison level of the expression parser recognises it here; not in is the not OPERATOR immediately followed by that identifier.

Class methods

member?(item : Value, container : Value) : Bool

Jinja semantics: substring for strings, key lookup for mappings, element equality for any other iterable.

Source

Nested types