helpers/isDefined.js

3 lines
80 B
JavaScript
Raw Permalink Normal View History

2022-03-11 23:42:26 +01:00
export const isDefined = val => {
return val !== null && val !== undefined;
};