How to know if an app runs in android or iOS device

I have a button that will send a push notif, since coronalabs supports boths and can easily port. Are there any way to find what OS is the app running to?

Nevermind find out the answer hehehe

http://docs.coronalabs.com/api/library/system/getInfo.html

systemInfo, platformName, I hope Im right

Nevermind find out the answer hehehe

http://docs.coronalabs.com/api/library/system/getInfo.html

systemInfo, platformName, I hope Im right