[TCGC] Have helper functions to tell isIntKinds and isFloatKinds #724
Labels
feature
New feature or request
lib:tcgc
Issues for @azure-tools/typespec-client-generator-core library
needs-area
TCGC provides helper functions to tell
isBuiltInKind
, but does not provideisFloatKind
andisIntKind
, and the related enumsSdkIntKindsEnum
andSdkFloatKindsEnum
are not exposed as well.But clients sometimes need to do type mapping for specific int types or float types, e.g.
If client write their own helper function, the type could be inconsistent with TCGC. So I wonder if TCGC can provide this kind of helper functions.
The text was updated successfully, but these errors were encountered: