Instance of

See

IArgumentAssertionBuilder

Type Parameters

  • T

Hierarchy

Constructors

Properties

argument: ArrayLike<T>
argumentName: string

Methods

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

    Parameters

    • predicate: Func1<ArrayLike<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