(s)
| 26263 | return s |
| 26264 | } |
| 26265 | shouldRefract(s) { |
| 26266 | return ( |
| 26267 | !!( |
| 26268 | (s._attributes && s.attributes.keys().length) || |
| 26269 | (s._meta && s.meta.keys().length) |
| 26270 | ) || |
| 26271 | ('enum' !== s.element && (s.element !== s.primitive() || 'member' === s.element)) |
| 26272 | ) |
| 26273 | } |
| 26274 | convertKeyToRefract(s, o) { |
| 26275 | return this.shouldRefract(o) |
| 26276 | ? this.serialise(o) |
no test coverage detected