MCPcopy Create free account
hub / github.com/react-component/select / isTitleType

Function isTitleType

src/utils/commonUtil.ts:25–27  ·  view source on GitHub ↗
(title: any)

Source from the content-addressed store, hash-verified

23}
24
25function isTitleType(title: any) {
26 return ['string', 'number'].includes(typeof title);
27}
28
29export function getTitle(item: DisplayValueType): string {
30 let title: string = undefined;

Callers 1

getTitleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…