1: | <?php |
2: | |
3: | declare(strict_types=1); |
4: | |
5: | /* |
6: | * This file has been auto generated by Jane, |
7: | * |
8: | * Do no edit it directly. |
9: | */ |
10: | |
11: | namespace NxSys\Library\Clients\Brex\API\Team\Runtime\Normalizer; |
12: | |
13: | trait CheckArray |
14: | { |
15: | public function isOnlyNumericKeys(array $array): bool |
16: | { |
17: | return count(array_filter($array, function ($key) { |
18: | return is_numeric($key); |
19: | }, ARRAY_FILTER_USE_KEY)) === count($array); |
20: | } |
21: | } |
22: |