Skip to content

basalt / prisma/src / canInspect

Function: canInspect() ​

> canInspect(client): client is SchemaInspector

Defined in: prisma/src/schema.ts:106

True when the client can be used to inspect a schema, not just write to it.

Parameters ​

client ​

unknown

Returns ​

client is SchemaInspector

Released under the MIT License.