Function ReflectSetPrototypeOf

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

    Returns

    Whether setting the prototype was successful.

    Parameters

    • target: object

      The object to change its prototype.

    • proto: null | object

      The value of the new prototype or null.

    Returns boolean

Generated using TypeDoc