Skip to main content

apply

apply(
@function ? ## required
@argsbyposition ? ## required
@argsbyname ? ## required
) -> llll/null
note

apply is a built-in function in the bell programming language and is not unique or exclusive to bellplay~.

Calls another function by passing it individual parameters expressed as two lllls, one for arguments passed by position, the other for arguments passed by name.


Arguments

  • @function [function] (required)
  • @argsbyposition [llll] (required)
  • @argsbyname [llll] (required)

Output

output of input @function [llll/null]

warning

apply will return null without raising an error if required arguments are not provided.