(obj, exceptProps)
| 3256 | |
| 3257 | |
| 3258 | function objectNoOtherNotNullUndefinedPropExcept(obj, exceptProps) { |
| 3259 | if (!obj) { |
| 3260 | return false; |
| 3261 | } |
| 3262 | for (var key in obj) { |
| 3263 | if (obj.hasOwnProperty(key) && arrayIndexOf(exceptProps, key) < 0 && obj[key] != null) { |
| 3264 | return false; |
| 3265 | } |
| 3266 | } |
| 3267 | return true; |
| 3268 | } |
| 3269 | |
| 3270 | var copyToClipboard = function (text) { |
| 3271 | if (typeof navigator === 'undefined' || !navigator.clipboard || !navigator.clipboard.writeText) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…