ez.no / exponential / documentation / reference / template operators / variables / is_class
$input|is_class( test )
| Name | Type | Description | Required |
|---|---|---|---|
| test | any | Variable to check. | only if input parameter is omitted |
true or false, see description for details.
This operator simply checks if a variable is a class or not. The operator returns true if the input or the first parameter is a class. If both input and parameter are supplied, it is the parameter that will be evaluated.
-
log in or create a user account to comment.
Comments