Instance of

See

IArgumentAssertionBuilder

Type Parameters

  • T

Hierarchy

Implements

Constructors

Properties

argument: T
argumentName: string

Methods

  • Asserts on the value of predicate to whether the assertion is valid.

    Parameters

    • predicate: Func1<T, boolean>

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

    • Optional message: string

      The message to use if the assertion is invalid.

    Returns default<T>

Generated using TypeDoc