Overview
useCheckUsernameAvailability returns a function that checks whether a given username is available in the project. Use this to validate a username in real time before calling updateUser.
Usage Example
Parameters
The hook returns a function. That function accepts:The username to check.
Returns
true if the username is available, false if it is already taken.
