tink_clone 0.1.0

Released 2016-04-29.

To install, run:

haxelib install tink_clone 0.1.0

See using Haxelib in Haxelib documentation for more information.

Maintainerkevinresol
Websitehttps://github.com/haxetink/tink_clone
Current version0.1.0
StatisticsInstalled 26 times
LicenseMIT
Tags clone, cross

README.md

tink_clone Build Status

Compile-time type-based object cloning code generator.

Usage

var source:Dynamic = {a:1, b:"2"};
var result:{a:Int, b:String} = Clone.clone(source); // result is {a:1, b:"2"}

Note

The type of the source is not enforced. If you need runtime type checking, consider using tink_validation