final class JsObjectOps[A <: Object] extends AnyVal
The "combine" methods are shallow, mutable merges, this may not be what you want.
- Alphabetic
- By Inheritance
- JsObjectOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new JsObjectOps(o: A)
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 as[T]: T
.asInstanceOf[T]
but shorter..asInstanceOf[T]
but shorter. Very dangerous!- Annotations
- @inline()
- def asAnyDict: Dictionary[Any]
- Annotations
- @inline()
- def asDict[B]: Dictionary[B]
- Annotations
- @inline()
- def asDyn: Dynamic
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asUndefOr: UndefOr[A]
- Annotations
- @inline()
- def combine(that: UndefOr[A]): A
Shallow merge ! If you are merging multiple levels of props, this is not what you want to use.
Shallow merge ! If you are merging multiple levels of props, this is not what you want to use.
- Annotations
- @inline()
- def combineDynamic(that: Dynamic): A
Combine with a js.Dynamic explicitly.
Combine with a js.Dynamic explicitly.
- Annotations
- @inline()
- def combineDynamicTo[B](that: Dynamic): B
Combine with a dynamic and cast.
Combine with a dynamic and cast.
- Annotations
- @inline()
- def combineGeneric(that: UndefOr[Object]): A
Combine with a generic js object or undefined.
Combine with a generic js object or undefined.
- Annotations
- @inline()
- def combineGenericTo[B](that: UndefOr[Object]): B
Combine with a generic js object and cast.
Combine with a generic js object and cast.
- Annotations
- @inline()
- def duplicate: A
Duplicate using
js.Object.assign
Duplicate using
js.Object.assign
- Annotations
- @inline()
- def duplicateCombine(that: Dynamic): A
Duplicate then combineDynamic
Duplicate then combineDynamic
- Annotations
- @inline()
- def duplicateCombineTo[B](that: Dynamic): B
Duplicate then combineDynamic then cast :-).
Duplicate then combineDynamic then cast :-).
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
- def unsafeCombine(that: Any): A
Combine with something! Client takes ownership to make sure
that
is suitable to be combined.Combine with something! Client takes ownership to make sure
that
is suitable to be combined.- Annotations
- @inline()