John Galt #1 Yep. You could probably even write such a function yourself, if there's a way to identify the type of the array programmatically.