Function reference
Return the current SharePoint platform

SharePointPlatform()

Data type: String
Possible return values are: SPO, 2019, SE