readClipboardText
A function that reads text data stored in the Clipboard.
Code
Interface
typescript
function readClipboardText(): Promise<string>
Usage
typescript
import { readClipboardText } from '@modern-kit/utils';
const result = await readClipboardText();
// Reads the text stored in the clipboard.