isNode

Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.is

Check if the current script is running under node runtime or not…

Return

  1. -Boolean

    true if running under javascript runtime, false if not…

Example

import { isNode } from '@blackbyte/sugar/is';
isNode(); // => true

Todo

  • testsnormal