Skip to main content

is_primitive

Function is_primitive 

Source
pub(crate) fn is_primitive(type_name: &str) -> bool
Expand description

Check if a capnp type name is a primitive (not a struct reference).

Delegates to is_primitive_capnp_type in schema::types — the canonical implementation shared with the CGR reader.