Skip to content

CustomTableContainsValueBlock

Class Documentation

Edit documentation

A block that searches a custom table for a value. The block evaluates value and compares it with each value of SrcTable, in walk order, until it finds an equal value.

  • If a value matches, the block writes its key to MatchingKey and true to WasFound.
  • If no value matches, the block writes false to WasFound and does not write MatchingKey.
  • If value is not set, the block records a script error.
  • If value evaluates to nothing, the block writes nothing.

Properties

WasFound

Embed<BoolTableSet> = { "Table": {}, "Var": "" }
Edit documentation

The bool variable that receives whether a matching entry was found.