(value)
| 55 | } |
| 56 | |
| 57 | export function isEmptyString(value) { |
| 58 | return _.isUndefined(value) || _.isNull(value) || String(value).trim() === '' || String(value).replace(/(^\s+)|(\s+$)/g, '') == ''; |
| 59 | } |
| 60 | |
| 61 | /* Validate rows to check for any duplicate rows based on uniqueCols-columns array */ |
| 62 | export function checkUniqueCol(rows, uniqueCols) { |
no outgoing calls
no test coverage detected