Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
getValue
Method · 0.95
Calls
1
includes
Method · 0.80
Tested by
no test coverage detected