getKeysArray
Definition
Description
Transform variable into standardised array of keys.
This method filters out any values that cannot be used as array key leaving only not empty strings and integers as seen in the example below.
Examples
Last updated
Was this helpful?