EZ Objects v6.1.1


Table of Contents


Module: ezobjects [top]

Copyright © 2018 Rich Lowe

Easy automatic class creation using simple configuration objects. Capable of automatically creating ES6 classes with constructor, initializer, and getters/setters for all configured properties.

ezobjects.instanceOf(obj, constructorName) [top]

A function for determining if an object instance's prototype chain includes a constructor named constructorName.

ezobjects.createClass(obj) [top]

  • obj <Object> Configuration object

A function for automatically generating a class object based on the values in the provided configuration object.