proc
is_list(l)
return istype(l, /list)
Now, there's nothing wrong with that. Nothing at all. However, that could be shortened(not much) to this version:
proc
is_list(l[0])
return istype(l)
I'm kind of surprised that a lot of developers don't know about this, as it is blatantly stated in the reference, with an accompanying example provided.
P.S. I'm just being picky :p