Separate files

  • Parameters

    • files: string[]

      Files

    • filter: {
          multiplicator?: string[];
          name: string;
          pattern: string | RegExp | string[] | RegExp[];
          prefixPattern: string | RegExp | string[] | RegExp[];
          suffixPattern: string | RegExp | string[] | RegExp[];
      }

      FIlter

    Returns { filteredFiles: string[]; notFilteredFiles: string[] }

    Files