vtils

Home > validator > yup > MixedSchema > notOneOf

yup.MixedSchema.notOneOf() method

Signature:

notOneOf(arrayOfValues: Refable<T>[], message?: MixedLocale['notOneOf']): this;

Parameters

Parameter Type Description
arrayOfValues Refable<T>[]  
message MixedLocale[‘notOneOf’] (Optional)

Returns:

this