time-to-botec/squiggle/node_modules/@stdlib/assert/is-docker/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

1.3 KiB

IS_DOCKER

Check if the process is running in a Docker container.

Usage

var IS_DOCKER = require( '@stdlib/assert/is-docker' );

IS_DOCKER

Boolean indicating if the process is running in a Docker container.

var bool = IS_DOCKER;
// returns <boolean>

Examples

var IS_DOCKER = require( '@stdlib/assert/is-docker' );

console.log( IS_DOCKER );
// => <boolean>