The
transform function executes a closure on a given value if the value is not blank and then returns the return value of the closure: