Open dave-ops opened 3 years ago
Our standards are to use arrow functions, so unfortunately this is not helpful for us
/** * */ export const isSomeNumberGreaterThen5 = (someNumber) => (someNumber > 5); /** * */ export const isSomethingComplicated = (something) => { if (!something) { return false; } if (Object.prototype.hasOwnProperty.call(something, 'isComplicated')) { return somthing.isComplicated; } return false; };
Our standards are to use arrow functions, so unfortunately this is not helpful for us