Type alias Truthy<T>

Truthy<T>: NonNullable<Exclude<T, false | "">>

The truthy representation of some type. Will ensure that the type is not null/undefined, and isn't false, or an empty string.

Type Parameters

  • T

Generated using TypeDoc