Usage | Returns |
---|---|
Number.not() | Number |
Argument | Type | Details |
---|---|---|
this: input | Number | The input value. |
Examples
Code Editor (JavaScript)
print('Value is not 0', ee.Number(5).not()); // 0 print('Value is 0', ee.Number(0).not()); // 1
Usage | Returns |
---|---|
Number.not() | Number |
Argument | Type | Details |
---|---|---|
this: input | Number | The input value. |
print('Value is not 0', ee.Number(5).not()); // 0 print('Value is 0', ee.Number(0).not()); // 1
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-04-18 UTC.