Type alias IsNotLooseArray<T, Then, Else>

IsNotLooseArray<T, Then, Else>: LooseArrayType<T, Else, Then>

🎭 predicate

Validate that T is not an array nor tuple.

Type Parameters

  • T

  • Then = true

  • Else = false

Example

type R = IsNotLooseArray<number[]> // false
type R = IsNotLooseArray<[1]> // false

type R = IsNotLooseArray<number> // true

Generated using TypeDoc