You can also use the functions ISA or OBJ_ISA.
Thanks. OBJ_ISA is much better (no need to call size(expression,/type) first).
ENVI> print, obj_isa(List([clusterLog]), 'LIST')
1
ENVI> print, obj_isa([clusterLog], 'LIST')
0
ENVI> print, obj_isa([], 'LIST')
0
|