Checks and provides the current version of wsl

On crates.io

Usage

wsl_version::is_wsl() returns true under WSL, false otherwise.

wsl_version::version() returns a WSL version number.