function isValueType(type: string): boolean {
  return type.charAt(0).toLowerCase() === type.charAt(0);
}
Heuristic to decide whether or not the given type is a value type (eg. "null")
or a Node type (eg. "Expression").