Skip to content

Check if a value is a valid list ID using the SDK's reserved list parser. Handles all composite formats: bb1..., !bb1..., Mint:bb1..., !Mint:bb1..., All…

isValidListId(id): boolean

Defined in: packages/bitbadgesjs-sdk/src/core/validate.ts:69

Check if a value is a valid list ID using the SDK's reserved list parser. Handles all composite formats: bb1..., !bb1..., Mint:bb1..., !Mint:bb1..., All, !Mint, AllWithout..., !(addr:addr), etc.

Parameters

id

string

Returns

boolean

Edit this page on GitHub