Files
smarty/docs/designers/language-modifiers/language-modifier-isset.md
Simon Wisselink 41d80b99ac Implemented support for substr, implode and json_encode as modifiers. (#940)
* Implemented support for substr, implode and json_encode as modifiers. Fixes #939
* Added split and join in favor of explode and implode modifiers.
* Documented all available modifiers
2024-02-26 14:35:19 +01:00

252 B

isset

Returns true if the variable(s) passed to it are different from null.

If multiple parameters are supplied then isset() will return true only if all of the parameters are not null.

Basic usage

{if $myVar|isset}all set!{/if}