get_short_description

Function get_short_description 

Source
pub fn get_short_description(script: &Script, max_len: usize) -> String
Expand description

Get a short description, truncated if necessary.

ยงArguments

  • script - The script to get description for
  • max_len - Maximum length before truncation