Scorio - v0.2.3
    Preparing search index...

    Type Alias PackedSelection<T, ReturnIndex, ReturnScore>

    PackedSelection: ReturnIndex extends true
        ? ReturnScore extends true
            ? [Selection<T>, SelectionIndex, SelectionScore]
            : [Selection<T>, SelectionIndex]
        : ReturnScore extends true ? [Selection<T>, SelectionScore] : Selection<T>

    Return type controlled by returnIndex and returnScore.

    Type Parameters

    • T
    • ReturnIndex extends boolean
    • ReturnScore extends boolean