• Type Parameters

    • Value = unknown

      The type of values to check for.

    Parameters

    • value: unknown

      The value to validate.

    • forbidden: Iterable<Value, any, any>

      List of forbidden values for this set.

    Returns value is Set<unknown>