MCPcopy
hub / github.com/JedWatson/react-select / isOptionDisabled

Function isOptionDisabled

packages/react-select/src/builtins.ts:13–14  ·  view source on GitHub ↗
(option: Option)

Source from the content-addressed store, hash-verified

11 (option as { value?: unknown }).value as string;
12
13export const isOptionDisabled = <Option>(option: Option): boolean =>
14 !!(option as { isDisabled?: unknown }).isDisabled;

Callers 2

toCategorizedOptionFunction · 0.90
isOptionDisabledMethod · 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…