New creates a new instance of this type object. This will fail if it not a function (constructor).
(args ...any)
| 54 | |
| 55 | // New creates a new instance of this type object. This will fail if it not a function (constructor). |
| 56 | func (o *Object) New(args ...any) *Object { return o.object.New(args...) } |
| 57 | |
| 58 | // Bool returns the object converted to bool according to JavaScript type conversions. |
| 59 | func (o *Object) Bool() bool { return o.object.Bool() } |
no outgoing calls