Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 8 years ago

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

Log in to vote
0
Answered by 8 years ago

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...

0
Oh thanks. I found out I was using "Print" with first letter capped. masternick1331 15 — 8y
0
syntax errors can be annoying ;) dragonkeeper467 453 — 8y
Ad
Log in to vote
-1
Answered by 8 years ago

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

0
naw real asnwer for this. dicision 0 — 8y
0
Oh. Well, thanks for atleast answering. masternick1331 15 — 8y

Answer this question