array-includes-with-glob
Version:
Like _.includes but with wildcards
17 lines (15 loc) • 387 B
TypeScript
declare const version: string;
interface Opts {
arrayVsArrayAllMustBeFound: "any" | "all";
caseSensitive: boolean;
}
declare const defaults: Opts;
/**
* Like _.includes but with wildcards
*/
declare function includesWithGlob(
input: string | string[],
findThis: string | string[],
opts?: Partial<Opts>,
): boolean;
export { type Opts, defaults, includesWithGlob, version };