MCPcopy Create free account
hub / github.com/dop251/goja / sortGet

Method sortGet

object_goarray_reflect.go:327–329  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

325}
326
327func (o *objectGoArrayReflect) sortGet(i int) Value {
328 return o.getIdx(valueInt(i), nil)
329}
330
331func (o *objectGoArrayReflect) swap(i int, j int) {
332 vi := o.fieldsValue.Index(i)

Callers

nothing calls this directly

Calls 2

getIdxMethod · 0.95
valueIntTypeAlias · 0.85

Tested by

no test coverage detected