Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/components
/ selection.spec.ts
File
selection.spec.ts
src/cdk/collections/selection.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{getMultipleValuesInSingleSelectionError, SelectionModel} from
'./selection-model'
;
2
3
describe(
'SelectionModel'
, () => {
4
describe(
'single selection'
, () => {
Callers
nothing calls this directly
Calls
12
getMultipleValuesInSingleSelectionError
Function · 0.90
compareFun
Function · 0.85
setSelection
Method · 0.80
hasValue
Method · 0.80
select
Method · 0.65
isSelected
Method · 0.65
sort
Method · 0.65
deselect
Method · 0.65
clear
Method · 0.65
toggle
Method · 0.65
isEmpty
Method · 0.45
isMultipleSelection
Method · 0.45
Tested by
no test coverage detected