mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
rename
This commit is contained in:
parent
a32774a29c
commit
1c13ca81ea
@ -164,7 +164,7 @@ extension ValueSubkeyRangeExt on ValueSubkeyRange {
|
||||
|
||||
extension ListValueSubkeyRangeExt on List<ValueSubkeyRange> {
|
||||
bool containsSubkey(int v) => indexWhere((e) => e.contains(v)) != -1;
|
||||
List<ValueSubkeyRange> remove(int v) {
|
||||
List<ValueSubkeyRange> removeSubkey(int v) {
|
||||
for (var i = 0; i < length; i++) {
|
||||
if (this[i].contains(v)) {
|
||||
return [...sublist(0, i), ...this[i].remove(v), ...sublist(i + 1)];
|
||||
|
Loading…
Reference in New Issue
Block a user