Condition
The writing of a condition is the following
Keywords
To verify that a value is either undefined
or null
, use the keyword unknown
Otherwise, to verify that a value is different from undefined
or null
, let's use the keyword defined
Note that these keywords must be at the beginning of the condition, we can not do
true && defined options
Last updated