isPrimitive
Returns true if a name matches a primitive type or value, excluding _.
Integer type names like u8 or i32 are only matched for syntax,
so this will still return true when they have an oversized bit count
or leading zeroes.
Function parameters
Parameters
- name:[]const u8
Returns true if a name matches a primitive type or value, excluding `_`.
Functions
- isPrimitive
- Returns true if a name matches a primitive type or value, excluding `_`.
Set of primitive type and value names.
Values
- names
- Set of primitive type and value names.
Source