// Coerce the various truthy shapes the backend uses (boolean `true`, the
// Postgres `'t'` flag, or the string `'true'`) into a real boolean.
export const isTrue = (v: unknown): boolean => v === true || v === 't' || v === 'true';
