Was this page helpful?

Num.IsNan

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    num.IsNan(number : num) : bool
    

    Check if number is not-a-number (NaN).

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    number
    num The number value.

     

    Result

    True, if the number value is NaN; else, return false.

     

    Samples


    Output

    If a number is NaN:

    {{num.isnan(55.391) }} 

     

    false

    If a number is NaN:

    {{num.isnan(num.acos(2)) }} 

     

    true
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by