(s)
| 42714 | : (o.content = s.content) |
| 42715 | return o |
| 42716 | }, |
| 42717 | cloneShallow = (s) => { |
| 42718 | if (s instanceof Su.KeyValuePair) return cloneShallowKeyValuePair(s) |
| 42719 | if (s instanceof Su.ot) |
| 42720 | return ((s) => { |
| 42721 | const o = [...s] |
| 42722 | return new Su.ot(o) |
| 42723 | })(s) |
| 42724 | if (s instanceof Su.G6) |
| 42725 | return ((s) => { |
| 42726 | const o = [...s] |
| 42727 | return new Su.G6(o) |
| 42728 | })(s) |
| 42729 | if (Cu(s)) return cloneShallowElement(s) |
| 42730 | throw new zu("Value provided to cloneShallow function couldn't be cloned", { value: s }) |
| 42731 | } |
| 42732 | cloneShallow.safe = (s) => { |
| 42733 | try { |
no test coverage detected