File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/ui/uploader/core/src/helpers/get-file-extension.js
Back
import { Type } from 'main.core'; const getFileExtension = (filename: string) => { const position = Type.isStringFilled(filename) ? filename.lastIndexOf('.') : -1; return position > 0 ? filename.substring(position + 1) : ''; }; export default getFileExtension;
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings