* Returns the node more strictly typed iff it is of the given type. Otherwise, * returns null.
(node, family)
| 6053 | */ |
| 6054 | |
| 6055 | function checkAtomFamily(node, family) { |
| 6056 | return node && node.type === "atom" && node.family === family ? node : null; |
| 6057 | } |
| 6058 | /** |
| 6059 | * Returns the node more strictly typed iff it is of the given type. Otherwise, |
| 6060 | * returns null. |