refactor: Rework val.max function
refactor: Rework val.max function

Update the val.max function. Function is now a little shorter and
removes boolean check redundancy.

{master}[snippets/concepts/string]

cgabriel5/snippets,cgabriel5/snippets,cgabriel5/snippets