objHasAttrs
Stentor API Reference / stentor-utils/src / objHasAttrs
Function: objHasAttrs()
objHasAttrs(
obj):boolean
Defined in: packages/stentor-utils/src/object/index.ts:89
A utility function to determine if an object has attributes or not.
Parameters​
obj​
object
Object to check
Returns​
boolean
True if the object exists and has attributes or false otherwise.