mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-11-12 23:30:54 +01:00
7 lines
144 B
JavaScript
7 lines
144 B
JavaScript
'use strict';
|
|
|
|
module.exports = value => {
|
|
const type = typeof value;
|
|
return value !== null && (type === 'object' || type === 'function');
|
|
};
|