isReady
Type: isReady(): boolean
sauthbase.isReady()
is a utility method that checks whether the SAuthBase SDK instance has been initialized.
Description
This method returns a boolean indicating whether sauthbase.init()
has already been called.
It is mainly used for pre-initialization checks or for monitoring internal state.
Example Usage
TypeScript
import { } from "sauthbase";
const = .();
if (!) {
.("SAuthBase has not been initialized yet.");
}
Return Value
true
: The instance has been initialized.false
: The instance has not been initialized.
Last updated on