Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.28 KB

File metadata and controls

32 lines (22 loc) · 1.28 KB

Array Flatten

code-style run-tests Packagist Version Packagist Downloads Packagist Dependency Version Packagist Stars Packagist License

Flatten nested arrays.

We have provided the API Documentation on the web. For more information, please visit https://www.palgle.com/array-flatten/ ❤️

Installation

composer require cable8mm/array-flatten

Usage

use function Cable8mm\ArrayFlatten\array_flatten;

array_flatten([1, [2, [3, [4, [5], 6], 7], 8], 9]);
//=> [1, 2, 3, 4, 5, 6, 7, 8, 9]

License

The Array Flatten is open-sourced software licensed under the MIT license.