JSPM

  • Created
  • Published
  • Downloads 22794
  • Score
    100M100P100Q157754F
  • License MIT

PullAllWithGlob - like _.pullAll but pulling stronger, with globs

Package Exports

  • array-pull-all-with-glob

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (array-pull-all-with-glob) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

array-pull-all-with-glob

PullAllWithGlob - like _.pullAll but pulling stronger, with globs

Install

npm i array-pull-all-with-glob

Quick Take

import { strict as assert } from "assert";
import pullAllWithGlob from "array-pull-all-with-glob";

assert.deepEqual(
  pullAllWithGlob(
    ["keep_me", "name-1", "name-2", "name-jhkgdhgkhdfghdkghfdk"],
    ["name-*"]
  ),
  ["keep_me"]
);

Documentation

Please visit codsen.com for a full description of the API and examples.

Licence

MIT License

Copyright (c) 2010-2020 Roy Revelt and other contributors

ok codsen star