util: string: Add helper to check whether string is empty
The helper checks whether a string contains only whitespace or is NULL. This will be helpful to skip cases where a user string is optional, but may be provided empty with the same meaning. (cherry picked from commit 0eeafeed)
Showing
想要评论请 注册 或 登录