Skip to Content
NFSFU234FormValidation v3 is here — file upload validation, config-driven rules, and more.
v2 (legacy)isOnline

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 false

See also

Last updated on