• Checks whether a field exists inside a files' metadata. Note, when the field exists but the value is undefined, the method will return false.

    Throws

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

    Returns

    true if the field exists, false otherwise

    Parameters

    • field: string

      The field to find, 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 boolean

Generated using TypeDoc