implicit final class ObjectCompanionOps extends AnyVal
- Alphabetic
- By Inheritance
- ObjectCompanionOps
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: scala.Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ObjectCompanionOps toany2stringadd[ObjectCompanionOps] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ObjectCompanionOps, B)
- Implicit
- This member is added by an implicit conversion from ObjectCompanionOps toArrowAssoc[ObjectCompanionOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: scala.Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (ObjectCompanionOps) => Boolean, msg: => scala.Any): ObjectCompanionOps
- Implicit
- This member is added by an implicit conversion from ObjectCompanionOps toEnsuring[ObjectCompanionOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ObjectCompanionOps) => Boolean): ObjectCompanionOps
- Implicit
- This member is added by an implicit conversion from ObjectCompanionOps toEnsuring[ObjectCompanionOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => scala.Any): ObjectCompanionOps
- Implicit
- This member is added by an implicit conversion from ObjectCompanionOps toEnsuring[ObjectCompanionOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ObjectCompanionOps
- Implicit
- This member is added by an implicit conversion from ObjectCompanionOps toEnsuring[ObjectCompanionOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ObjectCompanionOps toStringFormat[ObjectCompanionOps] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def hasProperty(o: Object, p: String): Boolean
Tests whether the specified object
o
has a propertyp
on itself or in its prototype chain.Tests whether the specified object
o
has a propertyp
on itself or in its prototype chain.This method is the equivalent of
p in o
in JavaScript. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def properties(o: Any): Array[String]
Returns the names of all the enumerable properties of the specified object
o
, including properties in its prototype chain.Returns the names of all the enumerable properties of the specified object
o
, including properties in its prototype chain.This method returns the same set of names that would be enumerated by a for-in loop in JavaScript, in the same order.
This method assumes that all keys enumerated by a for-in loop are strings. If this is not the case, calling this method is an undefined behavior of kind
ClassCastException
. Note that for all *ordinary* objects, the ECMAScript 2015 guarantees that this is the case. It might be false ifo
is a proxy object or another exotic object.For ordinary objects, if the underlying implementation guarantees an order for for-in loops, then this is guaranteed to be consistent with js.Object.keys, in the sense that the list returned by js.Object.keys is a sublist of the list returned by this method (not just a subset).
- Annotations
- @noinline()
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def →[B](y: B): (ObjectCompanionOps, B)
- Implicit
- This member is added by an implicit conversion from ObjectCompanionOps toArrowAssoc[ObjectCompanionOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.