doc: replace function with arrow function
Replaced function with arrow function in doc/api/util.md
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc