Skip to main content

nth

nth(
@llll ? ## required
@address 1
@placeholder null
) -> llll/null
note

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

Returns one or more elements from an llll according to its address. If a placeholder is provided, it will be inserted in the place of non-existing elements.


Arguments

  • @llll [llll] (required)
  • @address [int] (default: 1)
  • @placeholder [llll/null] (default: null)

Output

Or more elements from an llll according to its address. [llll/null]

warning

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