export function formatInputName(name: any, separator = ".") { if (Array.isArray(name)) return name.join(separator); return name; }