Optionalvalue: string | number | Uint8Array | string[] | BN | Set<string>Readonly[toOptionalcreatedOptionalinitialOptionalis(internal usage) Indicates that the value was created via a fallback. This is used when with data specified in the metadata when the storage entry is empty.
With metadata fallback values (available as defaults on most storage entries) any empty storage item should erturn the default. (This is the same as the implementation on the Bizinikiwi runtime)
ReadonlyregistryReadonlysizeStatic Readonly[species]Iterates over values in the set.
Removes a specified value from the Set.
Returns true if an element in the Set existed and has been removed, or false if the element does not exist.
Returns an iterable of [v,v] pairs for every value v in the set.
Executes a provided function once per each value in the Set object, in insertion order.
OptionalthisArg: anya boolean indicating whether an element with the specified value exists in the Set or not.
Despite its name, returns an iterable of the values in the set.
Returns an iterable of values in the set.
StaticwithOptionalbitLength: number
Name
Set
Description
An Set is an array of string values, represented an an encoded type by a bitwise representation of the values.