ohctechv3/.svn/pristine/82/82cddd42d191cb3f645b53422bf8387128b9b9e7.svn-base
2024-10-28 15:03:36 +05:30

20 lines
413 B
Plaintext

const PropertyInterface = (function () {
return function (propertyName, propertyGroup) {
var interfaceFunction = {
_name: propertyName,
};
function _propertyGroup(val) {
val = val === undefined ? 1 : val;
if (val <= 0) {
return interfaceFunction;
}
return propertyGroup(val - 1);
}
return _propertyGroup;
};
}());
export default PropertyInterface;