use crate::records::type_function_instance_type::TypeFunctionInstanceType;
use crate::records::type_function_reduction_guesser::TypeFunctionReductionGuesser;

impl TypeFunctionReductionGuesser {
    pub fn is_len_function(&self, instance: &TypeFunctionInstanceType) -> bool {
        let function = unsafe { instance.function.as_ref() };
        function.name == "len"
    }
}
