- Source:
- Author:
-
- Copyright:
- License:
OOP Inheritance mixin for ish.js
Methods
[mixin]
ish.oop.inherit(a_oHierarchy, vTarget)
- Source:
Inherits the passed hierarchy into the passed value.
From Mixin: ish.oop.inherit.js
must be included for ishJS
to access this functionality.
Parameters:
Name |
Type |
Description |
a_oHierarchy |
Array.<object>
|
Value representing the following options: TODO |
vTarget |
object
|
function
|
Value representing the object to inherit into. |
[mixin]
ish.oop.inherit.derivedFrom(vReference) → {boolean}
- Source:
Determines the base values of the passed reference value.
From Mixin: ish.oop.inherit.js
must be included for ishJS
to access this functionality.
Parameters:
Name |
Type |
Description |
vReference |
object
|
function
|
Value representing the reference value. |
Returns:
Type |
Description |
boolean
|
Value representing the base values of the passed reference value. |
[mixin]
ish.oop.inherit.instanceOf(vTarget, vReference) → {boolean}
- Source:
Determines if the passed value is an instance of the passed reference value.
From Mixin: ish.oop.inherit.js
must be included for ishJS
to access this functionality.
Parameters:
Name |
Type |
Description |
vTarget |
object
|
function
|
Value representing the object to test. |
vReference |
object
|
function
|
Value representing the reference object. |
Returns:
Type |
Description |
boolean
|
Value representing if the passed value is an instance of the passed reference value. |
[mixin]
ish.oop.inherit.is(vTarget) → {boolean}
- Source:
Determines if the passed value has been the subject of multiple inheritance.
From Mixin: ish.oop.inherit.js
must be included for ishJS
to access this functionality.
Parameters:
Name |
Type |
Description |
vTarget |
object
|
function
|
Value representing the object to test. |
Returns:
Type |
Description |
boolean
|
Value representing if the passed value has been the subject of multiple inheritance. |