pasteboard.clear()

Type function
Return value none
Revision Release 2024.3703
Keywords clear, pasteboard
See also Pasteboard
pasteboard.copy()
pasteboard.paste()

Overview

Clears the pasteboard of its data.

Syntax

pasteboard.clear()

Examples

local pasteboard = require( "plugin.pasteboard" )

-- Clear data from the pasteboard
pasteboard.clear()