• Returns the value of a field in a files' metadata. If the field does not exist, this method will return undefined.

    Throws

    OPDTraversalError if field is an invalid path to a metadata field.

    Returns

    The value of the field or undefined if the field does not exist.

    Parameters

    • field: string

      The field to get, this can also be a path to a nested object e.g. foo.bar, a path to a specific index in an array e.g. foo[0] or any combination of those e.g. foo['bar'].baz[0], like you are used to from javascript, except that the ? operator is not supported.

    • file: TFile
    • plugin: Plugin_2
    • isInline: boolean = false

      unused for now

    Returns any

Generated using TypeDoc