module.exports = val => !['object', 'function'].includes(typeof val) || val === null;