How to check a Number in mxml?

140 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 answers

1
membersound On

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