If the accuracy property is less than 10 meters then it's GPS. Other measurement methods are much less accurate. For example, WIFI is in kilometers. Also note that location can be spoofed using browser tools (sensors) that allows location and accuracy to be set to any value.