manpagez: man pages & more
info gawk
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.1.7 Getting Type Information

gawk provides a single function that lets you distinguish an array from a scalar variable. This is necessary for writing code that traverses every element of a true multidimensional array (see section Arrays of Arrays).

isarray(x)

Return a true value if x is an array. Otherwise return false.


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.