All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.forkhandles.tuples.contains.kt Maven / Gradle / Ivy

// GENERATED CODE: DO NOT EDIT

package dev.forkhandles.tuples

operator fun  Tuple2.contains(element: T): Boolean =
    (element == val1) || (element == val2)

operator fun  Tuple3.contains(element: T): Boolean =
    (element == val1) || (element == val2) || (element == val3)

operator fun  Tuple4.contains(element: T): Boolean =
    (element == val1) || (element == val2) || (element == val3) || (element == val4)

operator fun  Tuple5.contains(element: T): Boolean =
    (element == val1) || (element == val2) || (element == val3) || (element == val4) || (element == val5)

operator fun  Tuple6.contains(element: T): Boolean =
    (element == val1) || (element == val2) || (element == val3) || (element == val4) || (element == val5) || (element == val6)

operator fun  Tuple7.contains(element: T): Boolean =
    (element == val1) || (element == val2) || (element == val3) || (element == val4) || (element == val5) || (element == val6) || (element == val7)

operator fun  Tuple8.contains(element: T): Boolean =
    (element == val1) || (element == val2) || (element == val3) || (element == val4) || (element == val5) || (element == val6) || (element == val7) || (element == val8)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy