use Array.isArray() in _isArray() for type-check