Earth Engine has introduced
noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. Noncommercial projects use the Community Tier by default, though you can change a project's tier at any time.
ee.Reducer.allNonZero
Stay organized with collections
Save and categorize content based on your preferences.
Returns a Reducer that returns 1 if all of its inputs are non-zero, 0 otherwise. Where applicable, the output name is "all".
| Usage | Returns | ee.Reducer.allNonZero() | Reducer |
No arguments.
[null,null,["Last updated 2024-07-13 UTC."],[],["The `ee.Reducer.allNonZero()` function creates a Reducer that outputs 1 if all input values are non-zero, and 0 otherwise. The output is optionally named \"all\". This function takes no arguments and is used to aggregate multiple inputs into a single boolean-like result based on whether all inputs meet the non-zero criteria.\n"]]