F2Conv

given F2Conv[A, B, C]: NativeConverter[(A, B) => C]

Value members

Concrete methods

def fromNativeE(ps: ParseState): Either[String, (A, B) => C]

Inherited methods

def fromJson(json: String): (A, B) => C

Convert a Json String to type A. Returns A, or throws.

Convert a Json String to type A. Returns A, or throws.

Inherited from
NativeConverter
def fromJsonE(json: String): Either[String, (A, B) => C]

Convert a Json String to type A. Returns either A, or a String error.

Convert a Json String to type A. Returns either A, or a String error.

Inherited from
NativeConverter
def fromNative(nativeJs: Any): (A, B) => C

Convert a native Javascript type to Scala.js. Returns A, or throws.

Convert a native Javascript type to Scala.js. Returns A, or throws.

Inherited from
NativeConverter
def fromNativeE(nativeJs: Any): Either[String, (A, B) => C]

Convert a native Javascript type to Scala.js. Returns either A, or a String error.

Convert a native Javascript type to Scala.js. Returns either A, or a String error.

Inherited from
NativeConverter

Extensions

Extensions

extension (f: (A, B) => C)
def toNative: Any

Inherited extensions

extension (a: A)
def toJson: String

Convert type A to a JSON string

Convert type A to a JSON string

Inherited from
NativeConverter