use native `Array.isArray` (iOS 4+, Android 1.5+ supported).