src/Functions/AbstractFunctions.php
public function arrayKeyExistsRecursiveExtended(string $needle, array $haystack): bool
    {
        $result = false;
        foreach ($haystack as $value) {
            if (true === is_array($value)) {
                $result = $this->arrayKeyExistsRecursive($needle, $value);
            }
            if (true === $result) {
                return $result;
            }
        }

        return $result;
    }
public function arrayKeyExistsRecursiveExtended(string $needle, array $haystack): bool
    {
        $result = false;
        foreach ($haystack as $value) {
            if (true === is_array($value)) {
                $result = $this->arrayKeyExistsRecursive($needle, $value);
            }
            if (true === $result) {
                return $result;
            }
        }

        return $result;
    }
public function arrayKeyExistsRecursiveExtended ( string $ needle , array $ haystack ) : bool { $ result = false ; foreach ( $ haystack as $ value ) { if ( true === is_array ( $ value ) ) { $ result = $ this -> arrayKeyExistsRecursive ( $ needle , $ value ) ; } if ( true === $ result ) { return $ result ; } } return $ result ; }
Recursive version extended sub-function.

@param string $needle   The search string
@param array  $haystack The space indented setting

@return bool

@api
Recursive version extended sub - function .