1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-03-24 02:49:33 +00:00
Funkin/source/funkin/util/tools/DynamicAccessTools.hx
EliteMasterEric 2fa1d18dce Fix build
2024-03-06 12:29:54 -05:00

17 lines
355 B
Haxe

package funkin.util.tools;
import haxe.DynamicAccess;
class DynamicAccessTools
{
/**
* Creates a full clone of the input `DynamicAccess`.
* @param input The `Dynamic` to clone.
* @return A clone of the input `Dynamic`.
*/
public static function clone<T>(input:DynamicAccess<T>):DynamicAccess<T>
{
return Reflect.copy(input);
}
}