chore: common components
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export const isNotEmptyValue = (value: any) => {
|
||||
if (Array.isArray(value)) {
|
||||
return value.length > 0;
|
||||
}
|
||||
return value !== null && value !== undefined && value !== '';
|
||||
};
|
||||
Reference in New Issue
Block a user