array-pull-all-with-glob
Version:
Like _.pullAll but with globs (wildcards)
16 lines (14 loc) • 321 B
TypeScript
declare const version: string;
interface Opts {
caseSensitive: boolean;
}
declare const defaults: Opts;
/**
* Like _.pullAll but with globs (wildcards)
*/
declare function pull(
strArr: string[],
toBeRemoved: string | string[],
opts?: Partial<Opts>,
): string[];
export { type Opts, defaults, pull, version };