* Returns the node more strictly typed iff it is of the given type. Otherwise, * returns null.
(node, family)
| 6019 | */ |
| 6020 | |
| 6021 | function checkAtomFamily(node, family) { |
| 6022 | return node && node.type === "atom" && node.family === family ? node : null; |
| 6023 | } |
| 6024 | /** |
| 6025 | * Returns the node more strictly typed iff it is of the given type. Otherwise, |
| 6026 | * returns null. |