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

Function isValidCount

src/utils/valueUtil.ts:23–25  ·  view source on GitHub ↗
(value?: number)

Source from the content-addressed store, hash-verified

21}
22
23export function isValidCount(value?: number) {
24 return typeof value !== 'undefined' && !Number.isNaN(value);
25}
26
27export function fillFieldNames(fieldNames: FieldNames | undefined, childrenAsData: boolean) {
28 const { label, value, options, groupLabel } = fieldNames || {};

Callers 2

OptionListFunction · 0.90
onInternalSearchFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…