We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fa995e commit a7cc42cCopy full SHA for a7cc42c
src/lib/utils.jsx
@@ -6,5 +6,5 @@ export function cn(...inputs) {
6
}
7
8
export function isNullOrEmpty(str) {
9
- return !str || str.trim().length === 0;
+ return !str;
10
0 commit comments