Skip to main content

has_text

Function has_text 

Source
pub fn has_text() -> bool
Expand description

Whether the clipboard currently holds text. Cheap where the platform offers a dedicated check (UIPasteboard.hasStrings, Win32 IsClipboardFormatAvailable, …); otherwise it reads the text.

Day API ↩ Guides· daybrite.dev