Vendor/phpspreadsheet/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php
public static function errorType($value = '')
    {
        $value = self::flattenSingleValue($value);

        $i = 1;
        foreach (self::$errorCodes as $errorCode) {
            if ($value === $errorCode) {
                return $i;
            }
            ++$i;
        }

        return self::NA();
    }
public static function errorType($value = '')
    {
        $value = self::flattenSingleValue($value);

        $i = 1;
        foreach (self::$errorCodes as $errorCode) {
            if ($value === $errorCode) {
                return $i;
            }
            ++$i;
        }

        return self::NA();
    }
public static function errorType ( $ value = '' ) { $ value = self :: flattenSingleValue ( $ value ) ; $ i = 1 ; foreach ( self :: $ errorCodes as $ errorCode ) { if ( $ value === $ errorCode ) { return $ i ; } ++ $ i ; } return self :: NA ( ) ; }
ERROR_TYPE.

@param mixed $value Value to check

@return bool
ERROR_TYPE .