export function isNonNullable(x: T): x is NonNullable { return x != null } export type Truthy = Exclude