pasteboard.clear()

Type function
Return value none
Revision Release 2022.3683
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()