arrbase - Return the base type of an array
arr.arrbase()
The arrbase()
intrinsic method returns the
base type of an array. For the packed array types, this is the scalar
type. For unpacked array types, arrbase()
will
return Array
.
The arr must be an array, of any array type:
Array | List | String | WideString |
PackBool | PackChar | PackByte | PackUbyte |
PackShort | PackUshort | PackInt | PackUint |
PackLong | PackUlong | PackHalf | PackFloat |
PackDouble |
Returns a Type
that is the base type of the
given array
TypeCheck
is thrown if arr is not an
array
ArgCheck
is thrown if any arguments
are passed
"Hello".arrbase() Char [1,2,3].arrbase() Int {1,2,3}.arrbase() Array