How to check a Number in mxml?

187 Views Asked by At

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?

1

There are 1 best solutions below

1
On

I found out that the function name is case sensitive: isNaN()!