I think it’s called a variadic function. Is it possible to do? Like below (has no error, but it doesn’t produce the result I want.)

Intellisense suggest does not show that I can input a tuple.

I think it’s called a variadic function. Is it possible to do? Like below (has no error, but it doesn’t produce the result I want.)

Intellisense suggest does not show that I can input a tuple.

May be wrong but you can do:
(...): any
And if you just leave … Instead of it?
Like (apologizes if doesn’t produce the desired result, I don’t use type checking often so not proficient with them, also on mobile)
(self: CharacterState, ...)
Im pretty sure its just …type
(self: CharacterState, ...any) -> nil
Figured it out just as you were writing the reply! Ty both yall


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.