upcast_math: Upcast Types for Math Operator

Description Usage Arguments

View source: R/operator_handlers.R

Description

This function determines the output type of a unary or binary math operator when given the input types.

Usage

1
upcast_math(types, op)

Arguments

types

(list) The input types.

op

(character) The name of the math operator.


duncantl/RTypeInference documentation built on Jan. 16, 2021, 12:30 a.m.