Skip to main content

transform

Function transform 

Source
pub fn transform(
    input: &str,
    transform: PasteTransform,
) -> Result<String, String>
Expand description

Apply a transformation to the input text.

Returns Ok(transformed_text) on success, or Err(error_message) if the transformation fails (e.g., invalid Base64 input for decode).