MCPcopy
hub / github.com/prisma/prisma / isObjectEnum

Method isObjectEnum

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

Source from the content-addressed store, hash-verified

11 ) {}
12
13 private isObjectEnum(): boolean {
14 return this.useNamespace && objectEnumNames.includes(this.type.name)
15 }
16
17 private isStrictEnum(): boolean {
18 return this.useNamespace && strictEnumNames.includes(this.type.name)

Callers 1

getValueMethod · 0.95

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected