You are here

public static function YamlFormArrayHelper::isSequential in YAML Form 8

Determine if an array is a sequential array.

Parameters

array $array: An array.

Return value

bool TRUE if array is a sequential array.

File

src/Utility/YamlFormArrayHelper.php, line 84

Class

YamlFormArrayHelper
Provides helper to operate on arrays.

Namespace

Drupal\yamlform\Utility

Code

public static function isSequential(array $array) {
  return !self::isAssociative($array);
}