Search
Preparing search index...
The search index is not available
@michaelcoxon/ensure
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"index"
Ensure
Module Ensure
Index
Functions
arg
Functions
arg
arg
(
argument
:
AssertionType
<
string
>
, argumentName
:
string
)
:
StringArgumentAssertionBuilder
arg
(
argument
:
AssertionType
<
Guid
>
, argumentName
:
string
)
:
GuidArgumentAssertionBuilder
arg<TElement>
(
argument
:
AssertionType
<
ArrayLike
<
TElement
>
>
, argumentName
:
string
)
:
ArrayLikeArgumentAssertionBuilder
<
TElement
>
arg<T>
(
argument
:
AssertionType
<
T
>
, argumentName
:
string
)
:
ArgumentAssertionBuilder
<
T
>
Provides the helpers for validation
Parameters
argument:
AssertionType
<
string
>
The argument.
argumentName:
string
Name of the argument.
Returns
StringArgumentAssertionBuilder
Parameters
argument:
AssertionType
<
Guid
>
argumentName:
string
Returns
GuidArgumentAssertionBuilder
Type parameters
TElement
Parameters
argument:
AssertionType
<
ArrayLike
<
TElement
>
>
argumentName:
string
Returns
ArrayLikeArgumentAssertionBuilder
<
TElement
>
Type parameters
T
Parameters
argument:
AssertionType
<
T
>
argumentName:
string
Returns
ArgumentAssertionBuilder
<
T
>
Globals
arg
Generated using
TypeDoc
Provides the helpers for validation