We're a place where coders share, stay up-to-date and grow their careers.
You can also use iosPlatforms.includes(platform) instead of iosPlatforms.indexOf(platform) !== -1
iosPlatforms.includes(platform)
iosPlatforms.indexOf(platform) !== -1
can you give an example?
Cool, thanks for the info! 😁
You can also use
iosPlatforms.includes(platform)
instead ofiosPlatforms.indexOf(platform) !== -1
can you give an example?
Cool, thanks for the info! 😁