isLoginUserRequest(obj: unknown): obj is LoginUserRequest
Checks whether obj is a LoginUserRequest. It checks the types
only: a wrong name or password is the login route's answer to give.
obj is LoginUserRequest
isLoginUserRequest(obj: unknown): obj is LoginUserRequest
Checks whether obj is a LoginUserRequest. It checks the types
only: a wrong name or password is the login route's answer to give.
obj is LoginUserRequest
import { isLoginUserRequest } from "api/validators/user.ts";