Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Force the replacement of a certain DataModel field, assigning it to some explicit value without inner recursion.

    Hierarchy (View Summary)

    Index

    Methods

    • Represent the data of the DataFieldOperator as an object suitable for JSON serialization.

      Returns object

      Structured data that can be serialized into JSON

    • A comparison helper function that asserts whether two values are equal when one or both values may be DataFieldOperator instances.

      Parameters

      • a: any
      • b: any

      Returns boolean

    • Retrieve the inner value of the DataFieldOperator, or return the value passed if not a DataFieldOperator.

      Parameters

      • value: any

      Returns any