MCPcopy
hub / github.com/prisma/prisma / isStrictEnum

Method isStrictEnum

packages/client-generator-ts/src/TSClient/Enum.ts:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 }
16
17 private isStrictEnum(): boolean {
18 return this.useNamespace && strictEnumNames.includes(this.type.name)
19 }
20
21 public toTS(): string {
22 const { type } = this

Callers 1

toTSMethod · 0.95

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected