regIsOnUserPath function

bool regIsOnUserPath(
  1. String path
)

Returns true if the given path is on the user's path.

Note: this does not check the system path. @Throwing(ArgumentError) @Throwing(UnsupportedError) @Throwing(WindowsException)

Implementation

bool regIsOnUserPath(String path) {
  final paths = _getPaths();
  return _isOnUserPath(path, paths);
}