Hello!
I’ve decided I would learn about type checking but I am confused because I don’t really understand the point of it as it isn’t erroring my script or anything?
I do get this warning but when ran, it isn’t producing any errors, which confuses me because if it isn’t supposed to error, what’s the point of it? Is it just something for the programmer to see just to ensure they aren’t skipping over anything?
If I have to manually do assert(type(s) == 'string', 'Expected string!')
to cause it to error, doesn’t that kinda defeat the purpose of it?