ez-common-ts/lib/commons/file-util.d.ts

16 lines
621 B
TypeScript
Raw Normal View History

2023-11-12 22:00:29 +08:00
/**
*
* @param fileName
* @returns
*/
export declare function getFileExt(fileName: string): string;
/**
*
*
*
* 使substring方法提取最后一个斜杠或反斜杠后面的字符串作为文件名并返回
* @param path
* @returns
*/
export declare function getFileName(path: string): string;