Home > validator > yup > ObjectSchema > from
yup.ObjectSchema.from() method
Signature:
from(fromKey: keyof T, toKey: string, alias?: boolean): this;
Parameters
Parameter |
Type |
Description |
fromKey |
keyof T |
|
toKey |
string |
|
alias |
boolean |
(Optional) |
Returns:
this