/Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h
For example, when running on Windows, the WindowsITargetPlatformwill return true and all other platforms will return false.
true if this platform is running, false otherwise.
virtual bool IsRunningPlatform() const