ConstOps

final
class ConstOps[A](self: A) extends AnyVal

Provides Const-related methods for any value.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def const[B]: Const[A, B]

Wrap self in a Const.

Wrap self in a Const.

Can have better type inference than the Const.apply constructor.