src/DotArr.php
public static function is(array $arr)
    {
        $isdot = true;
        foreach ($arr as $key => $value) {
            if (!($isdot = ($isdot && !Str::contains($key, '.')))) {
                break;
            }
            if (is_array($value)) {
                $isdot = ($isdot && static::is($value));
            }
        }

        return $isdot;
    }
public static function is(array $arr)
    {
        $isdot = true;
        foreach ($arr as $key => $value) {
            if (!($isdot = ($isdot && !Str::contains($key, '.')))) {
                break;
            }
            if (is_array($value)) {
                $isdot = ($isdot && static::is($value));
            }
        }

        return $isdot;
    }
public static function is ( array $ arr ) { $ isdot = true ; foreach ( $ arr as $ key => $ value ) { if ( ! ( $ isdot = ( $ isdot && ! Str :: contains ( $ key , '.' ) ) ) ) { break ; } if ( is_array ( $ value ) ) { $ isdot = ( $ isdot && static :: is ( $ value ) ) ; } } return $ isdot ; }
Tests if the given value is a dot-notated accessible array.

This function tests if none of the keys contains a dot.

@param array $arr The array to test.

@return bool Returns true if the array is dot-notated accessible, false otherwise.
@SuppressWarnings(PHPMD.ShortMethodName)
Tests if the given value is a dot - notated accessible array .