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

Function newValues

script/utils.go:21–23  ·  view source on GitHub ↗
(vm *VM, vs []otto.Value)

Source from the content-addressed store, hash-verified

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) })}
23}
24
25type Values struct {
26 vm *VM

Callers 1

WrapVmCallFunction · 0.85

Calls 2

ArrayMapFunction · 0.92
newValueFunction · 0.85

Tested by

no test coverage detected