When I use the cancel function I notice that I need to put the # character in front of the parameters for the document to work.
$
cancel(x, length: #150%, angle: #40deg)
$
However this is not necessary with other functions, for example
#line(length: 20%, angle: 45deg)
While I can use both of these functions fine by looking at the examples in the documentation I was wondering what is the internal logic behind this?