type-plus
    Preparing search index...

    Type Alias IsNotLooseArray<T, Then, Else>

    IsNotLooseArray: LooseArrayType<T, Else, Then>

    🎭 predicate

    Validate that T is not an array nor tuple.

    Type Parameters

    • T
    • Then = true
    • Else = false
    type R = IsNotLooseArray<number[]> // false
    type R = IsNotLooseArray<[1]> // false

    type R = IsNotLooseArray<number> // true