Arr
in package
Helper for interacting with arrays
Tags
Table of Contents
- hasKey() : bool
- Wrapper for array_key_exists()
- trim() : array<string|int, mixed>
- Trim individual array keys
Methods
hasKey()
Wrapper for array_key_exists()
public
static hasKey(string $key, array<string|int, mixed> $array) : bool
Parameters
- $key : string
- $array : array<string|int, mixed>
Tags
Return values
bool —trim()
Trim individual array keys
public
static trim(array<string|int, mixed> $array) : array<string|int, mixed>
Parameters
- $array : array<string|int, mixed>