Skip to main content
Module

x/is/mod.ts

Detect the running environment and context of the current script
Latest
import * as is from "https://deno.land/x/is@v0.6.0/mod.ts";

Functions

Return true if the process is running on the CI server.

Return true if the process is running on the CI server synchronously.

Return true if the process is running inside a Docker container.

Return true if the process is running inside a Docker container synchronously.

Return true if src is a gzip file.

Return true if src is a gzip file synchronously.

Return true if the given PID is running.

Return true if the given PID is running synchronously.

Return true if the process is running inside SSH.

Return true if the process is running inside SSH synchronously.

Return true if the process is running inside [Windows Subsystem for Linux][1](Bash on Windows).

Return true if the process is running inside [Windows Subsystem for Linux][1](Bash on Windows) synchronously.