Added method to get length of unique array

This commit is contained in:
2025-02-17 09:36:38 -05:00
parent 9f9af36be8
commit 38c842cb07

View File

@@ -36,3 +36,7 @@ func (s uniq_arr[T]) values() []T {
}
return toRet
}
func (s uniq_arr[T]) len() int {
return len(s.backingMap)
}