na

na(value)
Parameters
  • value – Input value

Returns

boolean

Checks if the value is available, i.e., the value is not nan or nil. This function can be implemented as:

function na (value)
    local value = get_value (value)
    return isnan (value)
end