This page contains reference documentation for the GetDistanceMode function. This function returns 1 if the modifier is in distance mode, or 0 if the modifier is not in distance mode.
int GetDistanceMode()