isObject JavaScript

// You can use the following method -

typeof variable_name === 'object' && variable_name !== null
D@RK$T@R