forked from Open-EO/openeo-processes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
is_nan.json
44 lines (44 loc) · 1.21 KB
/
is_nan.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"id": "is_nan",
"summary": "Value is not a number",
"description": "Checks whether the specified value `x` is not a number (often abbreviated as `NaN`). The definition of `NaN` follows the [IEEE Standard 754](https://ieeexplore.ieee.org/document/4610935). All non-numeric data types MUST also return `true`.",
"categories": [
"comparison"
],
"parameters": {
"x": {
"description": "The data to check.",
"schema": {
"description": "Any data type is allowed."
},
"required": true
}
},
"returns": {
"description": "`true` if the data is not a number, otherwise `false`",
"schema": {
"type": "boolean"
}
},
"examples": [
{
"arguments": {
"x": 1
},
"returns": false
},
{
"arguments": {
"x": "Test"
},
"returns": true
}
],
"links": [
{
"rel": "about",
"href": "https://ieeexplore.ieee.org/document/4610935",
"title": "IEEE Standard 754-2008 for Floating-Point Arithmetic"
}
]
}