checkPassword

Check whether a password entered by the user is the same as the account’s one.

Parameters

password: string

The password to check

Result

The result of the check.

Syntax

await client.checkPassword(password);