outlet
outlet(
@outlets ? ## required
<...> ? ## required
) -> llll/null
note
outlet
is a built-in function in the bell programming language and is not unique or exclusive to bellplay~.
Assigns values to extra outlets, and returns the last (or only) value assigned. The order of the assigned values has no influence on the order in which they will be output, which will always be right-to-left, except if the same outlet is assigned more than one llll—in this case, the last assignment is the one that is retained. The same goes if the outlet()
function is called more than once. If the outlet()
function is called from a non-main function, it produces no effect besides returning the last argument's value.
Arguments
@outlets
[llll] (required)@<...>
[positional arguments] (required)
Output
Assigned values. [llll/null]
warning
outlet
will return null
without raising an error if required arguments are not provided.