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.


Top ↑

Return Return

(bool) True if the array is associative, false if it's sequential.


Top ↑

Source Source

File: src/Internal/RestApiUtil.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.