← All docs

is_array()

Checks whether a variable is an array.

is_array()

function is_array(mixed $value): bool

Checks whether a variable is an array.

Parameters:

  • $value (mixed)

Returns: bool

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how is_array is implemented in the compiler, see the internals page.