/** Who is logged in. Framework-free domain type. */
export interface Session {
  readonly bsn: string;
  readonly naam: string;
}

export function isAuthenticated(s: Session | null): s is Session {
  return s !== null;
}
