Docs
chromia.com

FUNCTION

is_value_allowed

function is_value_allowed(value: byte_array, allowlist: allowlist): boolean
Source

Utility function which returns whether a value is allowed by a certain allowlist. This means the allowlist is either set to allow all values, or the value is specified in the list of allowed values.

Parameters

  • value — the value to check
  • allowlist — the allowlist