.. # split from OESystemFunctions.rst:1619

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEIsReadableGrid

.. oe:function:: OEIsReadableGrid

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

      .. oe:api::

         bool OEIsReadableGrid(unsigned int type)
         bool OEIsReadableGrid(const std::string& filename)

   .. oe:language:: python

      .. oe:api:: python

         OEIsReadableGrid(type: int) -> bool
         OEIsReadableGrid(filename: str) -> bool

   Returns ``true`` if the supplied file format is readable by
   *OEGrid*. The 'filename' can be a file name or a file extension. The
   'type' parameter should be drawn from the
   :oe:constns:`OESystem::OEGridFileType` namespace.

