MCPcopy Index your code
hub / github.com/JedWatson/react-select / isOptionSelected

Method isOptionSelected

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

Source from the content-addressed store, hash-verified

1258 return isOptionDisabled(this.props, option, selectValue);
1259 }
1260 isOptionSelected(option: Option, selectValue: Options<Option>): boolean {
1261 return isOptionSelected(this.props, option, selectValue);
1262 }
1263 filterOption(option: FilterOptionOption<Option>, inputValue: string) {
1264 return filterOption(this.props, option, inputValue);
1265 }

Callers 2

SelectClass · 0.95
isOptionSelectedFunction · 0.80

Calls 1

isOptionSelectedFunction · 0.85

Tested by

no test coverage detected