Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.16 KB

File metadata and controls

33 lines (21 loc) · 1.16 KB

matches()

Matches if the rest of the line matches.

This function is useful in a few less common cases. For example, to achieve a result like:

@x.increase.onchange = #0 -> push("top", @x)

due to the language's grammar you would actually need to do:

@x.increase.onchange = int(#1) matches() -> push("top", @x)

Data signatures
matches()
Call signatures
matches()
Purpose Value
Main focus matches() produces a calculated value and decides matches
Context Qualifier
Match qualifiers onmatch
Value qualifiers onmatch

[Back to index]