type Truthy = T extends false | "" | 0 | null | undefined ? never : T // from lodash export function truthy(value: T): value is Truthy { return Boolean(value) } export function stripHTML(html: string) { return html.replace(/<(?:.|\n)*?>/gm, "") }