Function minItems

Validates that an array has at least the specified number of items.

`@minItems(1) tags: string[];`
  • Parameters

    • min: number

      Minimum number of items required

    Returns PropertyDecorator