Пример #1
0
 /// <summary>
 /// Creates a deep copy of the value which may contain (nested) `Array`s and`Object`s, `Number`s, `String`s, `Boolean`s and `Date`s. `Function`s areassigned by reference rather than copiedDispatches to a `clone` method if present.
 /// <para />
 /// sig: {*} -> {*}
 /// </summary>
 /// <param name="value">The object or array to clone</param>
 /// <returns>A deeply cloned copy of `val`</returns>
 public static dynamic Clone(RamdaPlaceholder value = null)
 {
     return(Currying.Clone(value));
 }
Пример #2
0
 /// <summary>
 /// Creates a deep copy of the value which may contain (nested) `Array`s and`Object`s, `Number`s, `String`s, `Boolean`s and `Date`s. `Function`s areassigned by reference rather than copiedDispatches to a `clone` method if present.
 /// <para />
 /// sig: {*} -> {*}
 /// </summary>
 /// <param name="value">The object or array to clone</param>
 /// <returns>A deeply cloned copy of `val`</returns>
 public static dynamic Clone <TTarget>(TTarget value)
 {
     return(Currying.Clone(value));
 }