Convert feet or meters distance to the opposite regardless of what configuration is used.
Feet or meters
Type the value is in
pf1.utils.swapDistance(30, "ft"); // => 9pf1.utils.swapDistance(9, "m"); // => 30 Copy
pf1.utils.swapDistance(30, "ft"); // => 9pf1.utils.swapDistance(9, "m"); // => 30
Convert feet or meters distance to the opposite regardless of what configuration is used.