Reference > mongosh Methods > Native Methods
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.
© MongoDB, Inc 2008-present. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB, Inc.