Skip to main content

Function: isValidInviteCode()

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / isValidInviteCode

Function: isValidInviteCode()

isValidInviteCode(code): boolean

Defined in: packages/launchpad-sdk/dist/types/moderator.dto.d.ts:507

Validate an invite code format.

Parameters​

code​

string

The invite code to validate

Returns​

boolean

True if the code is valid (64 hex characters)