Determine current platform inside Logic Hook

Hi, I want to know the platform from where the logic hook is being triggered to execute different code for different platforms.

Is there any way to get the current user's platform from the logic hook?