Ionic.Platform trouble


#1

Hi,
I want to know if my app is on ios, android or browser ( when i run ionic serve command), to run specific functions) , what is the best way ?
i tried on my chrome browser ionic.Platform.isIOS() and it returns “true”, anyone knows why ?

Thanks,