Skip to content

__isindex__

builtin · libnexusinterp/corefcn/utils-proprietary.cc

: tf = __isindex__ (ind)
: tf = __isindex__ (ind, n)

Return true if ind is a valid index, optionally within an array of extent n.

Numeric indices must be positive integers. A logical index is always valid, but with n its last true element must not lie beyond n.