User:Tsa236/sandbox

= What is p8? =

p8 is JavaScript Framework, which allows you:


 * 1) p8.Klass({ ... }) -- create new Klass with
 * 2) multiple virtual parents
 * 3) protected members
 * 4) copy constructors
 * 5) default execution method
 * 6) this.$super(MyKlass).fn -- call method fn defined in parent MyKlass klass
 * 7) Use Klasses' meta information
 * 8) p8.isKlass(obj) -- is obj a Klass ?
 * 9) p8.isKlass(obj, MyKlass1, MyKlass2) -- is obj a Klass, which extends MyKlass1 or MyKlass2 ?
 * 10) p8.isKlass(obj, [ MyKlass1, MyKlass2 ]) -- is obj a Klass, which extends both MyKlass1 and MyKlass2 ?
 * 11) p8.isObject(obj) -- is obj an instance of any Klass ?
 * 12) p8.isObject(obj, MyKlass1, MyKlass2) -- is obj an instance of Klass, which extends MyKlass1 or MyKlass2 ?
 * 13) p8.isObject(obj, [ MyKlass1, MyKlass2 ]) -- is obj an instance of Klass, which extends both MyKlass1 and MyKlass2 ?