_isWindows()
This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
_isWindows()
Returns: boolean. Returns "true" if the
mongo
shell is running on a system that is Windows, or "false" if the shell is running on a Unix or Linux systems.