Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
                                                    Finds whether a variable is an array
                                                                <?php is_array(mixed $value): bool
    <?php     protected function newSymfonyProcess($command, $path = null)
    {
        if (! is_array($command)) {
            $command = (string) $command;
        }
    <?php     public function attributes($attrs = null)
    {
        if (is_array($attrs) && ! empty($attrs)) {
            $attrs = Html::attributes($attrs);
        }
    <?php             return $this->cascade;
        }
        if (is_array($key)) {
            $this->cascade = collect($key);
            return $this;
    <?php     protected function getSortableValue($sort, $item)
    {
        if (is_array($item)) {
            return $this->normalizeSortableValue($item[$sort] ?? null);
        }
    <?php     public function make($addon)
    {
        $method = is_array($addon) ? 'makeFromPackage' : 'make';
        return Addon::$method($addon);
    }
    <?php     {
        $window = $this->window;
        $window['first'] = (is_array($this->window['first']))
            ? $this->associative($this->window['first'])
            : [];
    <?php             ? $this->associative($this->window['first'])
            : [];
        $window['slider'] = (is_array($this->window['slider']))
            ? $this->associative($this->window['slider'])
            : [];
    <?php             ? $this->associative($this->window['slider'])
            : [];
        $window['last'] = (is_array($this->window['last']))
            ? $this->associative($this->window['last'])
            : [];
    <?php     public function assemble($args)
    {
        $args = func_get_args();
        if (is_array($args[0])) {
            $args = $args[0];
        }
    <?php             $args = $args[0];
        }
        if (! is_array($args) || ! count($args)) {
            return null;
        }
    <?php     public function preProcessValidatable($value)
    {
        if (is_array($value)) {
            return $value;
        }
    <?php         }
        if (is_array($value)) {
            $value = $value['start'];
        }
    <?php     public function process($data)
    {
        if (! is_array($data)) {
            return $data;
        }
    <?php             })->all();
        }
        throw_if(is_array($value), new MultipleValuesEncounteredException($this));
        $label = is_null($value) ? null : array_get($this->config('options'), $value, $value);
    <?php     public function preProcess($data)
    {
        if (is_array($data)) {
            return count($data) > 0 ? \Statamic\Facades\Yaml::dump($data) : '';
        }