mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-29 13:59:28 +01:00
12 lines
252 B
Markdown
12 lines
252 B
Markdown
|
|
# 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
|
||
|
|
```smarty
|
||
|
|
{if $myVar|isset}all set!{/if}
|
||
|
|
```
|