cards

cards.clear

clear(id?: string): void

Remove a single card by id, or all cards when called with no argument.

idstringCard id to remove. Omit to clear everything.

Returns: void