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

Method isOptionDisabled

packages/react-select/src/Select.tsx:1257–1259  ·  view source on GitHub ↗
(option: Option, selectValue: Options<Option>)

Source from the content-addressed store, hash-verified

1255 return isClearable;
1256 }
1257 isOptionDisabled(option: Option, selectValue: Options<Option>): boolean {
1258 return isOptionDisabled(this.props, option, selectValue);
1259 }
1260 isOptionSelected(option: Option, selectValue: Options<Option>): boolean {
1261 return isOptionSelected(this.props, option, selectValue);
1262 }

Callers 2

SelectClass · 0.95
isOptionDisabledFunction · 0.80

Calls 1

isOptionDisabledFunction · 0.90

Tested by

no test coverage detected