@villedemontreal/workit-core
Version:
This package provides default and no-op implementations of the WorkIt types for client packages.
20 lines • 588 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.concatPath = void 0;
/*
* Copyright (c) 2025 Ville de Montreal. All rights reserved.
* Licensed under the MIT license.
* See LICENSE file in the project root for full license information.
*/
const concatPath = (path, property) => {
let clonePath = path;
if (property && property.toString) {
if (path) {
clonePath += '.';
}
clonePath += property.toString();
}
return clonePath;
};
exports.concatPath = concatPath;
//# sourceMappingURL=concat.js.map