Add array length and at index to embedded functions
async function arrayAtIndex([array, index], {session, game}) {
return array[index]
}
async function arrayLength([array], {session,game}) {
return array.length
}
module.exports = {
atIndex:atIndex,
arrLen:arrLen,
}