Module FakeUser/entities/logic/validators
Functions
validateEmail
- validateEmail(email: string): boolean
Parameters
Returns boolean
validateId
- validateId(id: string): boolean
Parameters
Returns boolean
validateImage
- validateImage(image: string): boolean
Parameters
Returns boolean
validateName
- validateName(name: string): boolean
Parameters
Returns boolean
Internal validator that matches the "email" property in the "SingleFakeUser" schema (
api/schema.yml
).