pub fn is_primitive( view: &CompiledModule, function_type_args: &[AbilitySet], s: &SignatureToken, ) -> bool
Check if a type is a primitive type in optimistic mode. It invokes the inner function with is_strict = false.