Skip to main content

isActiveStudent()

function isActiveStudent(user): user is ActiveStudent;

Type guard to check if a student has a complete profile

Parameters

ParameterTypeDescription
userStudentrepresents the student user type

Returns

user is ActiveStudent