Documentation
    Preparing search index...

    Function getFileExtension

    No description provided.

    • Get the file extension of the given path. Includes the dot e.g. .txt. Returns empty string if file has no extension.

      Parameters

      • path: string

        File path e.g. models/player/player.obj

      Returns string

      File extension include the dot (e.g. .obj), or empty string if path has no extension.