bf6-portal-mod-types
    Preparing search index...

    Type Alias Variable

    The Variable opaque type. This is a special type that can be used to store any type of value in the Global context, or on certain mod.Object types. If you are writing an experience in pure TypeScript, you will not need to use this type. However, this is the only way to store and retrieve values within the Block Editor, so it can be used to pass values between TypeScript and Blocks. TODO: Determine if it can be compared with mod.Equals.

    type Variable = {
        _opaque: typeof VariableSymbol;
    }
    Index

    Properties

    Properties

    _opaque: typeof VariableSymbol