|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
311 bytes
|
| Line | |
|---|
| 1 | import { without as without$1 } from '../../array/without.mjs';
|
|---|
| 2 | import { isArrayLikeObject } from '../predicate/isArrayLikeObject.mjs';
|
|---|
| 3 |
|
|---|
| 4 | function without(array, ...values) {
|
|---|
| 5 | if (!isArrayLikeObject(array)) {
|
|---|
| 6 | return [];
|
|---|
| 7 | }
|
|---|
| 8 | return without$1(Array.from(array), ...values);
|
|---|
| 9 | }
|
|---|
| 10 |
|
|---|
| 11 | export { without };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.