提交学习笔记专用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
258 B

  1. /**
  2. Check if the process is running inside a container.
  3. @example
  4. ```
  5. import isInsideContainer from 'is-inside-container';
  6. if (isInsideContainer()) {
  7. console.log('Running inside a container');
  8. }
  9. ```
  10. */
  11. export default function isInsideContainer(): boolean;