Checks if the current environment is a device (browser). Logs an error if the function is called outside of a Node.js environment.
True if the current environment is a device, otherwise false.
Checks if the current environment is a device (browser). Logs an error if the function is called outside of a Node.js environment.