Skip to main content

isActiveTutor()

function isActiveTutor(user): user is ActiveTutor;

Type guard to check if a tutor has a complete profile

Parameters

ParameterTypeDescription
userTutorrepresents the tutor user type

Returns

user is ActiveTutor