Revert "perf(isArray): use native Array.isArray"

This reverts commit 751ebc17f7fc7be26613db0a3cdee05fc401318b.