CloneFunction<T> Type alias

A function that, given a value of type T, returns a copy of that value. Such functions are used by various collection classes in the iModel.js library. It is up to the function to decide how deeply or shallowly the value is cloned. For example, shallowClone simply returns the input.

CloneFunction = (value: T) => T

Defined in

Last Updated: 08 January, 2020