Type Alias IfUndefined<T, Then, Else>

IfUndefined<T, Then, Else>: T extends undefined
    ? Then
    : Else

Type Parameters

  • T
  • Then = true
  • Else = false