|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
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.