Function getBasename

  • return the base name of the file without path info

    Parameters

    • path: string

      path containing the basename to extract

    Returns string

    the base name without path information.