hyTags
HomeHome DocumentationDocumentation

array-append-array

Creates a new array consisting of `self` and `array`.
Parameter
Type
Description
self
[T]
Initial array
array
[T]
Array to be appended
return
[T]
Array consisting of `self` and `array`
Test Case:Append
    <div></div>
    
    <value-scope return="[string]">
      <array-new type="string">
      <array-append value="A">
      <array-append value="B">
    </value-scope>
    <value-scope return="[string]">
      <array-new type="string">
      <array-append value="X">
      <array-append value="Y">
    </value-scope>
    <array-append-array>
    <array-join separator=",">
    <assert-equal value="X,Y,A,B" type="string">
    
    👆 Try to change something!
  • Test succeeded Test failed