(node *Node)
| 308 | } |
| 309 | |
| 310 | func IsPushOrUnshiftIdentifier(node *Node) bool { |
| 311 | text := node.Text() |
| 312 | return text == "push" || text == "unshift" |
| 313 | } |
| 314 | |
| 315 | func IsBooleanLiteral(node *Node) bool { |
| 316 | return node.Kind == KindTrueKeyword || node.Kind == KindFalseKeyword |
no test coverage detected