(val)
| 119 | } |
| 120 | |
| 121 | export function isPrimitive(val) { |
| 122 | return !['object', 'function'].includes(typeof val) || val === null; |
| 123 | } |
| 124 | |
| 125 | export function isEvaluable(value) { |
| 126 | if (isPrimitive(value)) return true; |
no outgoing calls
no test coverage detected
searching dependent graphs…