Function extname

  • Return the extension of the path, from the last '.' to end of string in the last portion of the path. If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string

    Parameters

    • p: string

      the path to evaluate.

    Returns string

  • Return the extension of the path, from the last '.' to end of string in the last portion of the path. If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string

    Parameters

    • p: string

      the path to evaluate.

    Returns string

Generated using TypeDoc