(operator)
| 1 | import { bitshiftOperators } from "./should-flatten.js"; |
| 2 | |
| 3 | function isBitwiseOperator(operator) { |
| 4 | return ( |
| 5 | Boolean(bitshiftOperators[operator]) || |
| 6 | operator === "|" || |
| 7 | operator === "^" || |
| 8 | operator === "&" |
| 9 | ); |
| 10 | } |
| 11 | |
| 12 | export { isBitwiseOperator }; |
no outgoing calls
no test coverage detected
searching dependent graphs…