UNPKG

241 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.compact = compact;
4function compact(a) {
5 // eslint-disable-next-line unicorn/prefer-native-coercion-functions
6 return a.filter((a) => Boolean(a));
7}