Tuxedo icon indicating copy to clipboard operation
Tuxedo copied to clipboard

Value is null, retrieves the 0th element of the array

Open ASLYBZ opened this issue 3 years ago • 0 comments

let value1 = Tuxedo().evaluate("{{ items.0 }}", variables: ["items": [1, 2, 3]]) print(value1) // null

let value2 = Tuxedo().evaluate("{{ items.1 }}", variables: ["items": [1, 2, 3]]) print(value2) // 2

ASLYBZ avatar Sep 06 '21 07:09 ASLYBZ