(s, o, i = () => !0)
| 31247 | getCommonExtensions = (s) => |
| 31248 | s.filter((s, o) => /^pattern|maxLength|minLength|maximum|minimum/.test(o)) |
| 31249 | function deeplyStripKey(s, o, i = () => !0) { |
| 31250 | if ('object' != typeof s || Array.isArray(s) || null === s || !o) return s |
| 31251 | const a = Object.assign({}, s) |
| 31252 | return ( |
| 31253 | Object.keys(a).forEach((s) => { |
| 31254 | s === o && i(a[s], s) ? delete a[s] : (a[s] = deeplyStripKey(a[s], o, i)) |
| 31255 | }), |
| 31256 | a |
| 31257 | ) |
| 31258 | } |
| 31259 | function stringify(s) { |
| 31260 | if ('string' == typeof s) return s |
| 31261 | if ((s && s.toJS && (s = s.toJS()), 'object' == typeof s && null !== s)) |
no test coverage detected