AnyTypeExtensions

class AnyTypeExtensions[A](thisA: A)

Extension methods for Any type A.

class Object
trait Matchable
class Any

Value members

Concrete methods

def *(operand: Int): Multiple[A]

Extension method on any type creates Multiple class of that type.

Extension method on any type creates Multiple class of that type.

def fRepeat(num: Int)(f: A => A): A
def match2[B](f1: A => Boolean, v1: => B, v2: => B): B

Short hand alternative to a 2 case match statement.

Short hand alternative to a 2 case match statement.

def match3[B](f1: A => Boolean, v1: => B, f2: A => Boolean, v2: => B, v3: => B): B

Short hand alternative to a 3 case match statement.

Short hand alternative to a 3 case match statement.

def match3Excep[B](f1: A => Boolean, v1: => B, f2: A => Boolean, v2: => B, f3: A => Boolean, v3: => B, excepStr: => String): B

Short hand alternative to a 3 case match statement, throwing an exception id no match.

Short hand alternative to a 3 case match statement, throwing an exception id no match.

def nextFromArr(arr: ArrayLike[A]): A