Documentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
useCheckUsernameAvailability
Overview
TheuseCheckUsernameAvailability hook is used to check if a specified username is available for use. This is helpful during user registration or profile updates to ensure the uniqueness of usernames.
Usage Example
Parameters & Returns
Parameters
The hook returns a function that accepts an object with the following field:The username to check for availability.
Returns
The function resolves with a boolean value:true if the username is available, otherwise false.
