mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
`toArray` returns the first argument unmodified if it passes `isArray`. So if `obj` passes `isArray`, call `slice` on it directly, otherwise use `toArray`.
24 KiB
24 KiB