tests/testthat/function_type.R

context("FunctionType")

test_that("", {
  #.(n: Integer, min: Numeric, max: Numeric) ~ Integer

  FunctionType(
    n = IntegerType(),
    min = NumericType(),
    max = NumericType(),
    .return_type = IntegerType(),
    .optional = c("min", "max")
  )
})
nick-ulle/typesys documentation built on Jan. 21, 2020, 5:13 p.m.