fenom/docs/en/mods/in.md

11 lines
192 B
Markdown
Raw Normal View History

2014-01-29 12:01:31 +04:00
Modifier in
===========
2013-03-15 01:12:23 +04:00
2014-01-31 12:43:18 +04:00
The modifier is implementation of [in](../operators.md#containment-operator) operator (performs containment test).
2013-02-23 17:37:04 +04:00
```smarty
2014-01-29 12:01:31 +04:00
{if $number|in:[1, 3, 42]}
2013-02-23 17:37:04 +04:00
...
{/if}
2014-01-31 12:43:18 +04:00
```