Packages

t

fs2.internal.jsdeps.std

ObjectConstructor

trait ObjectConstructor extends scala.scalajs.js.Object with StObject with Instantiable0[scala.scalajs.js.Object] with Instantiable1[Any, scala.scalajs.js.Object]

Annotations
@JSType() @native()
Source
ObjectConstructor.scala
Linear Supertypes
Instantiable1[Any, scala.scalajs.js.Object], Instantiable0[scala.scalajs.js.Object], StObject, scala.scalajs.js.Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectConstructor
  2. Instantiable1
  3. Instantiable0
  4. StObject
  5. Object
  6. Any
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(value: Any): Any
  5. def apply(): Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def assign[T, U, V, W](target: T, source1: U, source2: V, source3: W): T with U with V with W

    Copy the values of all of the enumerable own properties from one or more source objects to a target object.

    Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

    target

    The target object to copy to.

    source1

    The first source object from which to copy properties.

    source2

    The second source object from which to copy properties.

    source3

    The third source object from which to copy properties.

  8. def assign[T, U, V](target: T, source1: U, source2: V): T with U with V

    Copy the values of all of the enumerable own properties from one or more source objects to a target object.

    Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

    target

    The target object to copy to.

    source1

    The first source object from which to copy properties.

    source2

    The second source object from which to copy properties.

  9. def assign[T, U](target: T, source: U): T with U

    Copy the values of all of the enumerable own properties from one or more source objects to a target object.

    Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

    target

    The target object to copy to.

    source

    The source object from which to copy properties.

  10. def assign(target: scala.scalajs.js.Object, sources: Any*): Any

    Copy the values of all of the enumerable own properties from one or more source objects to a target object.

    Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

    target

    The target object to copy to.

    sources

    One or more source objects from which to copy properties

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  12. def create(o: Null, properties: PropertyDescriptorMap with ThisType[Any]): Any
  13. def create(o: scala.scalajs.js.Object, properties: PropertyDescriptorMap with ThisType[Any]): Any

    Creates an object that has the specified prototype, and that optionally contains specified properties.

    Creates an object that has the specified prototype, and that optionally contains specified properties.

    o

    Object to use as a prototype. May be null

    properties

    JavaScript object that contains one or more property descriptors.

  14. def create(o: scala.scalajs.js.Object): Any
  15. def create(): Any

    Creates an object that has the specified prototype or that has null prototype.

  16. def defineProperties[T](o: T, properties: PropertyDescriptorMap with ThisType[Any]): T

    Adds one or more properties to an object, and/or modifies attributes of existing properties.

    Adds one or more properties to an object, and/or modifies attributes of existing properties.

    o

    Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.

    properties

    JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.

  17. def defineProperty[T](o: T, p: PropertyKey, attributes: scala.scalajs.js.PropertyDescriptor with ThisType[Any]): T

    Adds a property to an object, or modifies attributes of an existing property.

    Adds a property to an object, or modifies attributes of an existing property.

    o

    Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.

    p

    The property name.

    attributes

    Descriptor for the property. It can be for a data property or an accessor property.

  18. def entries[T](o: StringDictionary[T]): scala.scalajs.js.Array[Tuple2[java.lang.String, T]]

    Returns an array of key/values of the enumerable properties of an object

    Returns an array of key/values of the enumerable properties of an object

    o

    Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

  19. def entries[T](o: ArrayLike[T]): scala.scalajs.js.Array[Tuple2[java.lang.String, T]]
  20. def entries(o: scala.scalajs.js.Object): scala.scalajs.js.Array[Tuple2[java.lang.String, Any]]

    Returns an array of key/values of the enumerable properties of an object

    Returns an array of key/values of the enumerable properties of an object

    o

    Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

  21. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  23. def freeze[T](f: T): T

    Prevents the modification of existing property attributes and values, and prevents the addition of new properties.

  24. def freeze[T](a: scala.scalajs.js.Array[T]): scala.scalajs.js.Array[T]

    Prevents the modification of existing property attributes and values, and prevents the addition of new properties.

  25. def freeze_T[T](o: T): T

    Prevents the modification of existing property attributes and values, and prevents the addition of new properties.

    Prevents the modification of existing property attributes and values, and prevents the addition of new properties.

    o

    Object on which to lock the attributes.

    Annotations
    @JSName("freeze")
  26. def fromEntries(entries: scala.scalajs.js.Iterable[scala.scalajs.js.Array[Any]]): Any

    Returns an object created by key-value entries for properties and methods

    Returns an object created by key-value entries for properties and methods

    entries

    An iterable object that contains key-value entries for properties and methods.

  27. def fromEntries_T_StringDictionary[T](entries: scala.scalajs.js.Iterable[Tuple2[PropertyKey, T]]): StringDictionary[T]

    Returns an object created by key-value entries for properties and methods

    Returns an object created by key-value entries for properties and methods

    entries

    An iterable object that contains key-value entries for properties and methods.

    Annotations
    @JSName("fromEntries")
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  29. def getOwnPropertyDescriptor(o: Any, p: PropertyKey): UndefOr[scala.scalajs.js.PropertyDescriptor]

    Gets the own property descriptor of the specified object.

    Gets the own property descriptor of the specified object. An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.

    o

    Object that contains the property.

    p

    Name of the property.

  30. def getOwnPropertyDescriptors[T](o: T): stdStrings.ObjectConstructor with TopLevel[T] with StringDictionary[scala.scalajs.js.PropertyDescriptor]

    Returns an object containing all own property descriptors of an object

    Returns an object containing all own property descriptors of an object

    o

    Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

  31. def getOwnPropertyNames(o: Any): scala.scalajs.js.Array[java.lang.String]

    Returns the names of the own properties of an object.

    Returns the names of the own properties of an object. The own properties of an object are those that are defined directly on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.

    o

    Object that contains the own properties.

  32. def getOwnPropertySymbols(o: Any): scala.scalajs.js.Array[scala.scalajs.js.Symbol]

    Returns an array of all symbol properties found directly on object o.

    Returns an array of all symbol properties found directly on object o.

    o

    Object to retrieve the symbols from.

  33. def getPrototypeOf(o: Any): Any

    Returns the prototype of an object.

    Returns the prototype of an object.

    o

    The object that references the prototype.

  34. def hasOwnProperty(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  36. def is(value1: Any, value2: Any): scala.Boolean

    Returns true if the values are the same value, false otherwise.

    Returns true if the values are the same value, false otherwise.

    value1

    The first value.

    value2

    The second value.

  37. def isExtensible(o: Any): scala.Boolean

    Returns a value that indicates whether new properties can be added to an object.

    Returns a value that indicates whether new properties can be added to an object.

    o

    Object to test.

  38. def isFrozen(o: Any): scala.Boolean

    Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.

    Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.

    o

    Object to test.

  39. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  40. def isPrototypeOf(v: scala.scalajs.js.Object): scala.Boolean
    Definition Classes
    Object
  41. def isSealed(o: Any): scala.Boolean

    Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.

    Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.

    o

    Object to test.

  42. def keys(o: scala.scalajs.js.Object): scala.scalajs.js.Array[java.lang.String]

    Returns the names of the enumerable string properties and methods of an object.

    Returns the names of the enumerable string properties and methods of an object.

    o

    Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

  43. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  46. def preventExtensions[T](o: T): T

    Prevents the addition of new properties to an object.

    Prevents the addition of new properties to an object.

    o

    Object to make non-extensible.

  47. def propertyIsEnumerable(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  48. def seal[T](o: T): T

    Prevents the modification of attributes of existing properties, and prevents the addition of new properties.

    Prevents the modification of attributes of existing properties, and prevents the addition of new properties.

    o

    Object on which to lock the attributes.

  49. def setPrototypeOf(o: Any, proto: scala.scalajs.js.Object): Any
  50. def setPrototypeOf(o: Any): Any

    Sets the prototype of a specified object o to object proto or null.

    Sets the prototype of a specified object o to object proto or null. Returns the object o.

    o

    The object to change its prototype.

  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  53. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  54. def valueOf(): Any
    Definition Classes
    Object
  55. def values[T](o: StringDictionary[T]): scala.scalajs.js.Array[T]

    Returns an array of values of the enumerable properties of an object

    Returns an array of values of the enumerable properties of an object

    o

    Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

  56. def values[T](o: ArrayLike[T]): scala.scalajs.js.Array[T]
  57. def values(o: scala.scalajs.js.Object): scala.scalajs.js.Array[Any]

    Returns an array of values of the enumerable properties of an object

    Returns an array of values of the enumerable properties of an object

    o

    Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Instantiable1[Any, scala.scalajs.js.Object]

Inherited from Instantiable0[scala.scalajs.js.Object]

Inherited from StObject

Inherited from scala.scalajs.js.Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped