Hello and welcome,
If not, how do I create a method myself?
You cannot create a method yourself in Typst, it should be done in the source code at GitHub - typst/typst: A new markup-based typesetting system that is powerful and easy to learn., see
How to add group function to Array method? - #2 by LordBaryhobal.
Best possible result would be
#let a = (1,2,3)
#let delete(arr, i) = arr.slice(0, i) + arr.slice(i+1)
#delete(a, 0) // (2, 3)
#delete(a, 1) // (1, 3)
#delete(a, 2) // (1, 2)