The is_array method whether the value is a JSON array.
is_array
is_array()
(Boolean). Returns true if the value is an array value, false otherwise.
true
false