MCPcopy Create free account
hub / github.com/microsoft/typescript-go / IsLogicalBinaryOperator

Function IsLogicalBinaryOperator

internal/ast/utilities.go:228–230  ·  view source on GitHub ↗
(token Kind)

Source from the content-addressed store, hash-verified

226}
227
228func IsLogicalBinaryOperator(token Kind) bool {
229 return token == KindBarBarToken || token == KindAmpersandAmpersandToken
230}
231
232func IsLogicalOrCoalescingBinaryOperator(token Kind) bool {
233 return IsLogicalBinaryOperator(token) || token == KindQuestionQuestionToken

Calls

no outgoing calls

Tested by

no test coverage detected