Skip to content

JSArray.CopyFrom<T> method

Copies array elements from a source array, converting each element to JS values using a conversion delegate.

C#
public void CopyFrom<T>(T[] array, int arrayIndex, From<T> toJS)
parameterdescription
arraySource array.
arrayIndexStarting index in the destination array.
toJSDelegate that converts from array element type to JS value.

See Also

Released under the MIT license