function spoiler

declare function spoiler<Content extends string>(content: Content): `||${Content}||`;

Formats the content into spoiler text.

Constructors

constructor()

Type Parameters

Content extends string

Parameters

content: Content
The content to spoiler