final case class Str(value: String) extends AnyVal with Value with Product with Serializable
- Alphabetic
- By Inheritance
- Str
- Serializable
- Serializable
- Product
- Equals
- Value
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Str(value: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
apply(s: String): Value
Looks up the Js.Value as a Js.Obj using an index, throws otherwise if it's not a Js.Obj
-
def
apply(i: Int): Value
Looks up the Js.Value as a Js.Arr using an index, throws otherwise if it's not a Js.Arr
-
def
arr: Seq[Value]
Returns the elements of this Js.Value, fails if it is not a Js.Arr
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
num: Double
Returns the
Doublevalue of this Js.Value, fails if it is not a Js.Num -
def
obj: Map[String, Value]
Returns the key/value map of this Js.Value, fails if it is not a Js.Obj
-
def
str: String
Returns the
Stringvalue of this Js.Value, fails if it is not a Js.Str -
def
toString(): String
- Definition Classes
- Value → Any
- val value: String