# Checks and provides the current version of wsl [![On crates.io](https://img.shields.io/crates/v/wsl-version.svg)](https://crates.io/crates/wsl-version) ## Usage `wsl_version::is_wsl()` returns true under WSL, false otherwise. `wsl_version::version()` returns a WSL version number.