Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/BasicTypes

Type aliases

Type aliases

StringOrList

StringOrList: string | string[]

Either a string or an array of strings

StringOrTrue

StringOrTrue: true | string

Either the boolean literal true or a string.

Purpose:

  • For use in validation functions that return true or an error string.