I'm trying to check if Number
is defined in flex mxml
. Both of the following does not work:
<Checkbox visible="{isNan(obj.number)}"/>
<Checkbox visible="{obj.number == null}"/>
How is this done correctly?
I'm trying to check if Number
is defined in flex mxml
. Both of the following does not work:
<Checkbox visible="{isNan(obj.number)}"/>
<Checkbox visible="{obj.number == null}"/>
How is this done correctly?
I found out that the function name is case sensitive:
isNaN()
!