### File

`src/validation/validation.model.ts`

### Index

###### Properties
Public message Public type
###### Methods
Public isRequired

### Constructor

`constructor(type: ValidationType, message: string)`
Defined in src/validation/validation.model.ts:3
Parameters :
Name | Type | Optional | Description
type | `ValidationType` |  |
message | `string` |  |

### Methods

Public isRequired
`isRequired()`
Defined in src/validation/validation.model.ts:10
Returns : `boolean`

### Properties

Public message
`message: `string``
Type : `string`
Defined in src/validation/validation.model.ts:7

Public type
`type: `ValidationType``
Type : `ValidationType`
Defined in src/validation/validation.model.ts:6

    import { ValidationType } from '.';

    export abstract class Validation {

      public constructor(
        public type: ValidationType,
        public message: string
      ) { }

      public isRequired(): boolean {
        return ValidationType.REQUIRED === this.type;
      }
    }

# results matching ""

# No results matching ""