isOnline
The isOnline function checks if the browser is currently online. It returns true if the browser reports that it is online, and false otherwise. This function is only applicable in a browser environment.
Works in: HTML5, React JS
Usage
Example: Check Browser Online Status
const onlineStatus = nfsfu234FormValidation.isOnline();
console.log(onlineStatus); // true or falseSee also
Last updated on