Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How come this won't confirm if it's a bool?

Today I was playing around with type() if I placed a string, the output ranted "String". But if I used the following code, print(type(true)) it errors.

2 answers

✓ Accepted answer

Try running> print(type(true)) in a normal script again. It should return boolean, at least it did when I tried it. And the roblox wiki example also returns a boolean. Something else must be giving that error...

2 comments

0

Oh thanks. I found out I was using "Print" with first letter capped.

0

syntax errors can be annoying ;)

ive treid that before and it errors lots. soory m8.

2 comments

0

naw real asnwer for this.

0

Oh. Well, thanks for atleast answering.

This discussion is preserved as it was. New answers, comments, and votes are closed.