@juulsgaard/ts-tools
    Preparing search index...

    Type Alias Conditional<T, TBase, TTrue, TFalse>

    Conditional: T extends TBase ? TTrue : TFalse

    If T extends TBase then this type evaluates to TTrue, otherwise to TFalse or never

    Type Parameters

    • T
    • TBase
    • TTrue
    • TFalse = never