isLoginPage
isLoginPage(
response):boolean
Defined in: packages/simply-settings-core/src/address/setupSession.ts:168
Whether a page is Salesforce’s login page rather than the Setup page that was asked for — what comes back when the session cookie is missing, expired, or was never granted.
Parameters
Section titled “Parameters”response
Section titled “response”Pick<SetupResponse, "url" | "body">
The response to check.
Returns
Section titled “Returns”boolean
true for a login page.