getPrototypeOf(o: any): any
Returns the prototype of an object.
getOwnPropertyDescriptor(o: any,p: PropertyKey,): PropertyDescriptor | undefined
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.
getOwnPropertyNames(o: any): string[]
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.
create(o: object | null): any
Creates an object that has the specified prototype or that has null prototype.
create(o: object | null,properties: PropertyDescriptorMap & ThisType<any>,): any
Creates an object that has the specified prototype, and that optionally contains specified properties.
defineProperty<T>(): T
Adds a property to an object, or modifies attributes of an existing property.
defineProperties<T>(o: T,properties: PropertyDescriptorMap & ThisType<any>,): T
Adds one or more properties to an object, and/or modifies attributes of existing properties.
seal<T>(o: T): T
Prevents the modification of attributes of existing properties, and prevents the addition of new properties.
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
freeze<T extends { [idx: string]: U
| null
| undefined
| object; },U extends string
| bigint
| number
| boolean
| symbol,>(o: T): Readonly<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.
preventExtensions<T>(o: T): T
Prevents the addition of new properties to an object.
isSealed(o: any): boolean
Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.
isFrozen(o: any): boolean
Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.
isExtensible(o: any): boolean
Returns a value that indicates whether new properties can be added to an object.
keys(o: object): string[]
Returns the names of the enumerable string properties and methods of an object.