Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ removeListItem
Function
removeListItem
packages/forms/src/util.ts:9–12 ·
view source on GitHub ↗
(list: T[], el: T)
Source
from the content-addressed store, hash-verified
7
*/
8
9
export
function
removeListItem<T>(list: T[], el: T): void {
10
const
index = list.indexOf(el);
11
if
(index > -1) list.splice(index, 1);
12
}
Callers
2
_unregisterOnChange
Method · 0.90
_unregisterOnDisabledChange
Method · 0.90
Calls
1
indexOf
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…