The isObject() method tests if the provided value is an Object and returns a boolean value.

Syntax

bapi.helper.isObject(value)

Parameters

value

The value to test.

Example

bapi.helper.isObject("Test Value.");//returns false
bapi.helper.isObject([1,2,5]);//returns false
bapi.helper.isObject({id: 1, name: "Joe"});//returns true
bapi.helper.isObject(125);//returns false