Copyable mixin adds copyability and clonability to your class. The module uses defined relation to deduce how to copy / clone the instance.


Keywords
wTools, wCopyable, copy, clone, copy mixin, clone mixin, constructor, destructor, init, finit
License
MIT
Install
npm install wCopyable@0.4.361

Documentation

module::Copyable status experimental

Copyable mixin adds copyability and clonability to your class. The module uses defined relation to deduce how to copy / clone the instance.

Try out

npm install
node sample/Base.s
npm install
node sample/Descendant.s