CrxOop CrxOop: Bringing Object Oriented Programming, and Proper Prototype Based Programming, To Javascript
The aim of the library documented below is to provide developers with a solution to allow development using interfaces and classes as they are known in other object oriented programming (OOP) languages such as C++, C#, Java and PHP. Further more, V1.4 introduces structures, a generalization of the concept of prototypal inheritance, known here as POBP.
Subject
Body*
Email
SUBMIT CLOSE
Menu

6.0 Data Typing

CrxOop comes with its own typing system in addition to what javascript provides. Two important functions are provided to complement what javascript provides, crxOop.instanceOf and crxOop.typeOf which complement the native 'instanceof' and 'typeof'. Beyond these two, there are also crxOop.isClassExtending, crxOop.isClassChaining, crxOop.isClassImplementing, crxOop.isStructureInheriting, and crxOop.isStructureContaining.