ee.Reducer.allNonZero
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.
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 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["Returns a Reducer that outputs 1 if all inputs are non-zero and 0 otherwise."],["The Reducer is named \"all\" when applicable."],["It can be used with the syntax `ee.Reducer.allNonZero()`."],["This reducer takes no arguments."]]],["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"]]