MCPcopy Create free account
hub / github.com/buke/quickjs-go / Int32

Method Int32

value.go:185–187  ·  view source on GitHub ↗

Deprecated: Use ToInt32 instead.

()

Source from the content-addressed store, hash-verified

183
184// Deprecated: Use ToInt32 instead.
185func (v *Value) Int32() int32 {
186 return v.ToInt32()
187}
188
189// ToInt32 returns the int32 value of the value.
190func (v *Value) ToInt32() int32 {

Callers 1

TestValueConversionsFunction · 0.45

Calls 1

ToInt32Method · 0.95

Tested by 1

TestValueConversionsFunction · 0.36