export function insertInArrayIf(condition, ...elements) { return condition ? elements : []; }