What is "stats"?

I was just going about my day and naming variable then I noticed something strange… the word “stats” turned blue, which is the color of “built-in function” in my studio settings, and it never happened before (I don’t think, or else I wouldn’t have used it)…
image

I have a couple variables named “stats”, should I change them or is it OK for me to keep them that way?

2 Likes

stats is a now-deprecated function that when called returned the Stats service. If it annoys you just pick a different identifier.

3 Likes

You can read more about this here stats

1 Like