MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / array

Method array

aiscript-vm/src/value.rs:131–133  ·  view source on GitHub ↗
(mc: &Mutation<'gc>, data: Vec<Value<'gc>>)

Source from the content-addressed store, hash-verified

129impl<'gc> Value<'gc> {
130 #[inline]
131 pub fn array(mc: &Mutation<'gc>, data: Vec<Value<'gc>>) -> Self {
132 Value::List(Gc::new(mc, RefLock::new(List::array(data))))
133 }
134
135 #[inline]
136 pub fn equals(&self, other: &Value<'gc>) -> bool {

Callers

nothing calls this directly

Calls 1

ListClass · 0.85

Tested by

no test coverage detected