MCPcopy 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 */
85export function isValueType(type: string): boolean {
86 return type.charAt(0).toLowerCase() === type.charAt(0);
87}

Callers 2

stringifyValidatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected