MCPcopy
hub / github.com/gopherjs/gopherjs / Interface

Method Interface

js/js.go:77–77  ·  view source on GitHub ↗

Interface returns the object converted to any. See table in package comment for details.

()

Source from the content-addressed store, hash-verified

75
76// Interface returns the object converted to any. See table in package comment for details.
77func (o *Object) Interface() any { return o.object.Interface() }
78
79// Unsafe returns the object as an uintptr, which can be converted via unsafe.Pointer. Not intended for public use.
80func (o *Object) Unsafe() uintptr { return o.object.Unsafe() }

Callers 15

UnpackMethod · 0.45
TestStructKeyFunction · 0.45
Test_MapWrapperFunction · 0.45
TestBoolFunction · 0.45
TestStrFunction · 0.45
TestIntFunction · 0.45
TestFloatFunction · 0.45
TestFuncFunction · 0.45
TestDateFunction · 0.45
TestMakeWrapperFunction · 0.45

Calls

no outgoing calls

Tested by 13

TestStructKeyFunction · 0.36
Test_MapWrapperFunction · 0.36
TestBoolFunction · 0.36
TestStrFunction · 0.36
TestIntFunction · 0.36
TestFloatFunction · 0.36
TestFuncFunction · 0.36
TestDateFunction · 0.36
TestMakeWrapperFunction · 0.36
TestReflectionFunction · 0.36