Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/babel/babel
/ isValueType
Function
isValueType
packages/babel-types/scripts/utils/stringifyValidator.ts:85–87 ·
view source on GitHub ↗
(type: string)
Source
from the content-addressed store, hash-verified
83
* or a Node
type
(eg.
"Expression"
).
84
*/
85
export
function
isValueType(
type
: string): boolean {
86
return
type
.charAt(0).toLowerCase() ===
type
.charAt(0);
87
}
Callers
2
getNodeTypesFromValidator
Function · 0.90
stringifyValidator
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected