Fields
optionalsetPrototypeOf:Null<(target:T, prototype:Null<{}>) ‑> Bool>
A trap for Object.setPrototypeOf
.
optionalset:Null<(target:T, property:EitherType<String, EitherType<Int, Symbol>>, value:Any, receiver:Null<{}>) ‑> Bool>
A trap for setting property values.
optionalownKeys:Null<(target:T) ‑> Array<String>>
A trap for Object.getOwnPropertyNames
and Object.getOwnPropertySymbols
.
optionalhas:Null<(target:T, prop:EitherType<String, EitherType<Int, Symbol>>) ‑> Bool>
A trap for the in
operator.
optionalgetOwnPropertyDescriptor:Null<(target:T, prop:EitherType<String, Symbol>) ‑> Null<ObjectPropertyDescriptor>>
A trap for Object.getOwnPropertyDescriptor
.
optionalget:Null<(target:T, property:EitherType<String, EitherType<Int, Symbol>>, receiver:Null<{}>) ‑> Any>
A trap for getting property values.
optionaldeleteProperty:Null<(target:T, property:EitherType<String, EitherType<Int, Symbol>>) ‑> Bool>
A trap for the delete
operator.
optionaldefineProperty:Null<(target:T, property:EitherType<String, Symbol>, descriptor:ObjectPropertyDescriptor) ‑> Bool>
A trap for Object.defineProperty
.