CloneFunction<T> Type
CloneFunction = (value: T) => T
A function that, given a value of type T, returns a copy of that value. Such functions are used by various collection classes. It is up to the function to decide how deeply or shallowly the value is cloned. For example, shallowClone simply returns the input.
Defined in
- core/bentley/src/SortedArray.ts Line 16
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.