Vyxapedia

Element - O - Count / Maximums-by

Characters: O


Description

Count number of times b occurs in a / Maximums-by


Overloads

  • any-any - a.count(b)
  • any-fun - all elements in a where the result of b(x) is highest

Examples

  • ⟨1|2|3|4|5|4|3⟩ 4 O = 2
  • `abcdbacsabdcabca` `a` O = 5
  • 1213121 1 O = 4
  • 1213121 `1` O = 4
  • `1213121` 1 O = 4