mise API - v0.0.0
    Preparing search index...

    Function dicomFiles_sample

    • Picks at most cap files spread evenly across the stack, always keeping the first and the last.

      Type Parameters

      • T

      Parameters

      • files: T[]

        The ordered files.

      • cap: number

        The most to keep.

      Returns T[]

      The chosen files, in order.