You are here

public static function PHPExcel_Calculation_TextData::RETURNSTRING in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/TextData.php \PHPExcel_Calculation_TextData::RETURNSTRING()

* RETURNSTRING * *

Parameters

mixed $testValue Value to check: * @return boolean

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/TextData.php, line 561

Class

PHPExcel_Calculation_TextData
PHPExcel_Calculation_TextData

Code

public static function RETURNSTRING($testValue = '') {
  $testValue = PHPExcel_Calculation_Functions::flattenSingleValue($testValue);
  if (is_string($testValue)) {
    return $testValue;
  }
  return Null;
}