mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +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