Something went wrong. Try again.
Explore blocks, labels, lists, and posts on Bluesky. skytrace.aly.town
Something went wrong. Try again.
123456789101112export type CursorHistory = { readonly cursor: string readonly previous?: CursorHistory}
export function hasCursor(history: CursorHistory | undefined, cursor: string): boolean { for (let entry = history; entry; entry = entry.previous) { if (entry.cursor === cursor) return true } return false}