SplitScript reference / Migration / Bulk array extension
Bulk array extension
Migration from C#
Source pattern
- C#:
AddRange
Canonical SplitScript
AddRangebecomesextend.
Use the canonical language and API symbols linked below.
Semantic difference
Call values.extend(moreValues) to append a typed array in order; extending an array with itself duplicates its original contents once.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
-
[T].extend (standard library)