MCPcopy Create free account
hub / github.com/devld/go-drive / newValue

Function newValue

script/utils.go:17–19  ·  view source on GitHub ↗
(vm *VM, v otto.Value)

Source from the content-addressed store, hash-verified

15)
16
17func newValue(vm *VM, v otto.Value) *Value {
18 return &Value{vm, v, nil}
19}
20
21func newValues(vm *VM, vs []otto.Value) Values {
22 return Values{vm, utils.ArrayMap(vs, func(t *otto.Value) *Value { return newValue(vm, *t) })}

Callers 7

newValuesFunction · 0.85
GetMethod · 0.85
GetMethod · 0.85
ArrayMethod · 0.85
CallMethod · 0.85
wrapVmRunFunction · 0.85
GetValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected