mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-24 02:49:33 +00:00
17 lines
355 B
Haxe
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);
|
|
}
|
|
}
|