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

Function IsInfinityOrNaNString

internal/ast/utilities.go:4196–4198  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

4194}
4195
4196func IsInfinityOrNaNString(name string) bool {
4197 return name == "Infinity" || name == "-Infinity" || name == "NaN"
4198}
4199
4200func GetFirstConstructorWithBody(node *Node) *Node {
4201 for _, member := range node.Members() {

Callers 3

isHintableLiteralFunction · 0.92
evaluateEntityMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected