StObjectCast2Ops

@inline final class StObjectCast2Ops[Self <: ([_, _] =>> StObject), T1, T2](val x: Self[T1, T2]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def unsafeCast2[U1, U2]: Self[U1, U2]

Scala is more strict than Typescript, and sometimes a cast is the best solution.

Scala is more strict than Typescript, and sometimes a cast is the best solution.

This exists to make casts safer, since it only casts the type parameters

Concrete fields

val x: Self[T1, T2]