Wraps the expression with the cap() built-in function.