You are here

public static function PHPExcel_Calculation_Functions::IS_ERROR in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php \PHPExcel_Calculation_Functions::IS_ERROR()

* IS_ERROR * *

Parameters

mixed $value Value to check: * @return boolean

3 calls to PHPExcel_Calculation_Functions::IS_ERROR()
PHPExcel_Calculation_Functions::IS_ERR in vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php
* IS_ERR * *
PHPExcel_Calculation_Functions::IS_TEXT in vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php
* IS_TEXT * *
PHPExcel_Calculation_Logical::IFERROR in vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Logical.php
* IFERROR * * Excel Function: * =IFERROR(testValue,errorpart) * * @access public * @category Logical Functions *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php, line 384

Class

PHPExcel_Calculation_Functions
PHPExcel_Calculation_Functions

Code

public static function IS_ERROR($value = '') {
  $value = self::flattenSingleValue($value);
  if (!is_string($value)) {
    return false;
  }
  return in_array($value, array_values(self::$_errorCodes));
}