is_paste_valid

is_paste_valid(to_paste: Value, matched_channels, dest_layer: Node) PasteType

Test if the targeted channels are open to be modified by the clipboard in a layer.

Parameters
  • to_paste (Value) – The values to be pasted

  • matched_channels – The matching channels

  • dest_layer (Node) – The destination layer

Return type

PasteType