undefinedSubstitution
Replace a strictly undefined source member with a fixed destination value.
forMember(
(destination) => destination.fullName,
undefinedSubstitution('Unknown user'),
);
Only undefined is substituted. A null value is unchanged; use nullSubstitution() for that case. Object substitutions are assigned as provided without nested mapping.