Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
RestApiUtil::is_associative( array $array )
Is an array sequential or associative?
Description Description
Parameters Parameters
- $array
-
(Required) The array to check.
Return Return
(bool) True if the array is associative, false if it's sequential.
Source Source
File: src/Internal/RestApiUtil.php