IsArray

PowerBuilder Native Interface

IPB_Value interface:

IsArray method

Description

Returns true if the IPB_Value instance contains an array; otherwise, returns false.

Syntax

IsArray( )

Return Values

pbboolean

Examples

This example tests whether an IPB_Value instance is an array before obtaining the array:

if(ci->pArgs->GetAt(i)->IsArray())
{
   pArguments[i].array_val =
      ci->pArgs->GetAt(i)->GetArray();
   continue;
}

See Also