UNPKG

@nestjs/swagger

Version:

Nest - modern, fast, powerful node.js web framework (@swagger)

6 lines (5 loc) 224 B
import { isFunction } from 'es-toolkit/compat'; import { BUILT_IN_TYPES } from '../services/constants.js'; export function isBuiltInType(type) { return isFunction(type) && BUILT_IN_TYPES.some((item) => item === type); }