MCPcopy
hub / github.com/nestjs/swagger / isInterface

Function isInterface

lib/plugin/utils/ast-utils.ts:84–86  ·  view source on GitHub ↗
(type: Type)

Source from the content-addressed store, hash-verified

82}
83
84export function isInterface(type: Type) {
85 return hasObjectFlag(type, ObjectFlags.Interface);
86}
87
88export function isEnum(type: Type) {
89 const hasEnumFlag = hasFlag(type, TypeFlags.Enum);

Callers 1

getTypeReferenceAsStringFunction · 0.90

Calls 1

hasObjectFlagFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…