isObject

  • function
 

takes a JS type and checks if it is '[object Object]'

Lang.isObject(ele)

takes a JS type and checks if it is '[object Object]'

Parameters

  1. ele {String | Array | Object | Number}

    any Javascript type

Returns

{Boolean}

true if ele '[object Object]' else it returns false