id: Id<"blocks"> | Id<"tables">;id: Id<"blocks"> | Id<"tables">; and I want to have a quick way to check the type of id. const isPageItem = id && id.__tableName === "blocks"; const isPageItem = id && id.__tableName === "blocks"; but __tableName__tableName seems to be undefined. Join the Discord to ask follow-up questions and connect with the community
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
16,164 Members
Join