Skip to main content

symdiff

symdiff(
@llll1 ? ## required
@llll2 ? ## required
@function null
) -> llll/null
note

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

Returns the symmetric difference of two lllls. A comparison function can be provided through the @function argument, otherwise it performs a stardard comparison


Arguments

  • @llll1 [llll] (required)
  • @llll2 [llll] (required)
  • @function [function/null] (default: null)

Output

Symmetric difference of two lllls. [llll/null]

warning

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