Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

argument

argument: string

argumentName

argumentName: string

Methods

isNotNull

  • isNotNull(): this

isNotNullOrUndefined

  • isNotNullOrUndefined<T>(): this

isNotNullOrUndefinedOrEmpty

  • isNotNullOrUndefinedOrEmpty(): this

isNotUndefined

  • isNotUndefined(): this

isOneOf

  • isOneOf(...options: string[]): this

isTypeOf

  • isTypeOf<T2>(type: ConstructorFor<T2>): this

matches

  • matches(predicate: Func1<string, boolean>, message?: undefined | string): this
  • Asserts on the value of predicate to whether the assertion is valid.

    Parameters

    • predicate: Func1<string, boolean>

      The predicate to test to see if the assertion is valid.

    • Optional message: undefined | string

      The message to use if the assertion is invalid.

    Returns this

matchesRegex

  • matchesRegex(regex: RegExp): this

Generated using TypeDoc