• Checks if a value is equal to the destination, if same type, or is in the provided array

    Type Parameters

    • T

    Parameters

    • value: T

      the value to check

    • array: SingleOrMultiple<T>

      the data array or single value

    Returns boolean

    true if the value is equal to the destination, if same type, or is in the provided array