export const isTruthy = (i: T | 0 | '' | false | null | undefined): i is T => !!i;