docx-validate
    Preparing search index...

    Function partExtension

    • OPC extension of a part name: the substring after the last dot of the final segment, ASCII-lowercased — _rels/.rels has extension "rels" (unlike POSIX path.extname, which returns "" for dotfiles). Returns "" when the final segment has no dot.

      Parameters

      • partPath: string

      Returns string