Returns an AsyncOperationFunction that yields the entries of the source Iterable then the parameter value.
The type of the elements in the source Iterable.
The values to append to the source Iterable.
An AsyncOperationFunction that yields the entries of the source Iterable then the parameter value.
const result = endWithAsync<number>([1, 2, 3], 4, 5, 6);console.log(result); // [1, 2, 3, 4, 5, 6] Copy
const result = endWithAsync<number>([1, 2, 3], 4, 5, 6);console.log(result); // [1, 2, 3, 4, 5, 6]
Returns an AsyncOperationFunction that yields the entries of the source Iterable then the parameter value.