kaven-basic - v6.0.0
    Preparing search index...

    Function ChangeFileExtension

    • Changes the extension of a given file name to the specified extension.

      Parameters

      • fileName: string

        The original file name whose extension is to be changed.

      • extension: string

        The new extension to be applied (with or without a leading dot).

      Returns string

      The file name with the new extension.

      1.0.5

      2021-12-07