dash.assert.scalarObj

Throw error if method object is not scalar


Syntax



Description

dash.assert.scalarObj(obj)

Throws an error if the object is not scalar.

dash.assert.scalarObj(obj, header)

Customize thrown error IDs.


Input Arguments

obj

class instance
The object used to call a method.