File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/main/core/src/lib/extension/internal/convert-path.js
Back
import Type from '../../type'; export default function convertPath(path: string): Array<string> { if (Type.isStringFilled(path)) { return path .split('.') .reduce((acc, item) => { item .split(/\[['"]?(.+?)['"]?\]/g) .forEach((key) => { if (Type.isStringFilled(key)) { acc.push(key); } }); return acc; }, []); } return []; }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings