qt6-bb10/qtdeclarative/tests/auto/qml/qmlformat/data/arrowFunctions.formatted.qml

6 lines
87 B
QML

Item {
arrow1: x => x
arrow2: x => x + x
arrow3: () => x > 3 ? x * x : x
}