Skip to main content
Version: Next

intersection

operator

string

  • "L&R"
  • const intersection = type("/@arktype.io$/ & email")

tuple

  • [L, "&", R]
  • const tupleIntersection = type(["/@arktype.io$/", "&", "email"])

helper

  • intersection(L,R)
  • const helperIntersection = intersection("/@arktype.io$/","email")