Docs Menu

_isWindows()

_isWindows()
Returns:boolean.

Returns "true" if mongosh is running on a system that is Windows, or "false" if the shell is running on a Unix or Linux systems.

←  version()_rand() →
Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.