How do I change this to require a certain class?

How do I change the “any” to something like String or Number?
image

delete any and type string or number

function name(test: number)
end

basically, add a colon after the argument then the value type afterward. though there isn’t much reason to do it except for clarification.

1 Like