Returns the current platform. Currently one of: 'iOS', 'Android', 'Windows', 'Mac OS', or 'Linux'.

Parameters

No parameters

Returns

String

Examples

PLATFORM()

// returns "iOS"

Did this page help you?