UNPKG

@v4fire/core

Version:
15 lines (14 loc) 432 B
/*! * 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>;