CopyToClipboard
public struct CopyToClipboard : Shortcut
                Copies content to the clipboard.
Input: Anything
Result: (Anything) The input
- 
                  
                  
The contents of the shortcut.
Declaration
Swift
public var body: some Shortcut { get } - 
                  
                  
Initializes the shortcut.
Declaration
Swift
public init(content: Variable, isLocalOnly: Bool = false, expiration: String = "")Parameters
contentThe content to copy.
isLocalOnlyWhen enabled, the input will only be copied locally, and will not be shared to other devices via Handoff.
expirationWhen set, the clipboard contents will expire and be automatically deleted at the specified time.
 
View on GitHub
        CopyToClipboard Structure Reference