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

Method Int64

value.go:173–175  ·  view source on GitHub ↗

Deprecated: Use ToInt64 instead.

()

Source from the content-addressed store, hash-verified

171
172// Deprecated: Use ToInt64 instead.
173func (v *Value) Int64() int64 {
174 return v.ToInt64()
175}
176
177// ToInt64 returns the int64 value of the value.
178func (v *Value) ToInt64() int64 {

Callers 4

unmarshalMethod · 0.45
TestValueConversionsFunction · 0.45
evalIntMethod · 0.45
evalIntMethod · 0.45

Calls 1

ToInt64Method · 0.95

Tested by 1

TestValueConversionsFunction · 0.36