Function rubble_templates::std_fun::math::plus_function[][src]

pub fn plus_function(parameters: &[String]) -> String

Adds (or concatenates) values. If any of the parameters is not convertible to a number, then the rest will be concatenated.

Eg.

+ 1 2 3.3
+ 1 2 "hello" 3.3

Expected output:

6.3
3hello3.3