@v4fire/core
Version:
V4Fire core library
15 lines (14 loc) • 432 B
TypeScript
/*!
* V4Fire Core
* https://github.com/V4Fire/Core
*
* Released under the MIT license
* https://github.com/V4Fire/Core/blob/master/LICENSE
*/
/**
* Returns true if the current host has a connection to the internet or null
* if the connection status can't be checked.
*
* This engine checks the connection by using a request for some data from the internet.
*/
export declare function isOnline(): Promise<boolean | null>;