MCPcopy
hub / github.com/nestjs/nest / isString

Function isString

packages/common/utils/shared.utils.ts:45–45  ·  view source on GitHub ↗
(val: any)

Source from the content-addressed store, hash-verified

43export const isFunction = (val: any): val is Function =>
44 typeof val === 'function';
45export const isString = (val: any): val is string => typeof val === 'string';
46export const isNumber = (val: any): val is number => typeof val === 'number';
47export const isConstructor = (val: any): boolean => val === 'constructor';
48export const isNil = (val: any): val is null | undefined =>

Callers 15

formatAddressMethod · 0.90
hostMethod · 0.90
mapToExcludeRouteFunction · 0.90
mapRouteToRouteInfoMethod · 0.90
addDependencyMetadataMethod · 0.90
exploreMethodMetadataMethod · 0.90
isPipeableMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected