menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Detecting if a value is string/bool/int
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Detecting if a value is string/bool/int
Tomarty
Join Date: 2008-12-08
Post Count: 591
#28306139
Wednesday, June 30, 2010 3:22 AM GMT
value = 5 How do I find out that the value is Int? value = true or bool?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
TheEndOfDays
Join Date: 2009-11-24
Post Count: 2614
#28306183
Wednesday, June 30, 2010 3:23 AM GMT
print(type(value))
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
ElectricAxel
Join Date: 2009-05-15
Post Count: 16239
#28306187
Wednesday, June 30, 2010 3:23 AM GMT
type(value)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Blaboblox
Join Date: 2008-09-12
Post Count: 8945
#28306251
Wednesday, June 30, 2010 3:24 AM GMT
http://wiki.roblox.com/
Function Dump. Core Functions.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Tomarty
Join Date: 2008-12-08
Post Count: 591
#28306307
Wednesday, June 30, 2010 3:25 AM GMT
yeah I looked at the functions, I am also impatient
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right