Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
326 bytes
|
Line | |
---|
1 | /**
|
---|
2 | Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows).
|
---|
3 |
|
---|
4 | @example
|
---|
5 | ```
|
---|
6 | import isWsl = require('is-wsl');
|
---|
7 |
|
---|
8 | // When running inside Windows Subsystem for Linux
|
---|
9 | console.log(isWsl);
|
---|
10 | //=> true
|
---|
11 | ```
|
---|
12 | */
|
---|
13 | declare const isWsl: boolean;
|
---|
14 |
|
---|
15 | export = isWsl;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.