@symbol and is invoked using
()brackets. For example, this is how you obtain all the data about all the tokens inside targeted design system:
tokensthat is filled with data about all the screens in the current project. Function
allTokensdoesn't take any input parameters, so its invoked only with
tokenthat is filled with data about a specific token. We have specified which token by providing
tokenIdto the function call.
,. Note that spaces between arguments are ignored, so we recommend writing them after each separator, which helps readability a lot:
@boolean.andfunction used for boolean operations:
@boolean.andis a variadic function and you can use it to test whether all parameters are true - be it 2 in the first definition, or 4 in the second one.