Home / Function/ isTable() — drizzle-orm Function Reference

isTable() — drizzle-orm Function Reference

Architecture documentation for the isTable() function in table.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  75acb444_7d0c_4771_89a5_f63a15f5f4e4["isTable()"]
  ddbb35ab_7e67_d2b6_96ec_1f37678fcb67["table.ts"]
  75acb444_7d0c_4771_89a5_f63a15f5f4e4 -->|defined in| ddbb35ab_7e67_d2b6_96ec_1f37678fcb67
  style 75acb444_7d0c_4771_89a5_f63a15f5f4e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/table.ts lines 120–122

export function isTable(table: unknown): table is Table {
	return typeof table === 'object' && table !== null && IsDrizzleTable in table;
}

Domain

Subdomains

Frequently Asked Questions

What does isTable() do?
isTable() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/table.ts.
Where is isTable() defined?
isTable() is defined in drizzle-orm/src/table.ts at line 120.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free