.. # split from OESystemFunctions.rst:1497

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEGridHasNonZeroValue

.. oe:function:: OEGridHasNonZeroValue

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEGridHasNonZeroValue(const OESystem::OESkewGrid& g)
         bool OEGridHasNonZeroValue(const OESystem::OEScalarGrid& g)

   .. oe:language:: python

      .. oe:api:: python

         OEGridHasNonZeroValue(g: OEScalarGrid) -> bool
         OEGridHasNonZeroValue(g: OESkewGrid) -> bool

   Returns whether the data in the grid 'g' (:ref:`OESkewGrid <OESystem_OESkewGrid>` or
   :ref:`OEScalarGrid <OESystem_OEScalarGrid>`) is zeroed out.

