BUPKIS
API
Assertions
Preparing search index...
bupkis
assertions
AsyncParametricAssertions
Variable AsyncParametricAssertions
Const
AsyncParametricAssertions
:
readonly
[
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
readonly
[
"to resolve"
,
"to fulfill"
]
,
]
,
(
subject
:
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
)
=>
Promise
<
{
message
:
string
}
|
undefined
>
,
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to resolve"
,
"to fulfill"
]
>
,
]
,
>
,
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
readonly
[
"to resolve"
,
"to fulfill"
]
,
]
,
(
subject
:
PromiseLike
<
unknown
>
,
)
=>
Promise
<
{
message
:
string
}
|
undefined
>
,
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to resolve"
,
"to fulfill"
]
>
,
]
,
>
,
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
readonly
[
"to reject"
,
"to be rejected"
]
,
]
,
(
subject
:
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
)
=>
Promise
<
{
message
:
string
}
|
undefined
>
,
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to reject"
,
"to be rejected"
]
>
,
]
,
>
,
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
readonly
[
"to reject"
,
"to be rejected"
]
,
]
,
(
subject
:
PromiseLike
<
unknown
>
,
)
=>
Promise
<
{
message
:
string
}
|
undefined
>
,
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to reject"
,
"to be rejected"
]
>
,
]
,
>
,
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
readonly
[
"to reject with a"
,
"to reject with an"
,
"to be rejected with a"
,
"to be rejected with an"
,
]
,
ZodCustom
<
Constructor
,
Constructor
>
,
]
,
(
subject
:
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
ctor
:
Constructor
,
)
=>
Promise
<
|
{
actual
?:
undefined
;
expected
?:
undefined
;
message
:
string
}
|
{
actual
:
string
;
expected
:
string
;
message
:
string
}
|
undefined
,
>
,
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to reject with a"
,
"to reject with an"
,
"to be rejected with a"
,
"to be rejected with an"
,
]
,
>
,
ZodCustom
<
Constructor
,
Constructor
>
,
]
,
>
,
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
readonly
[
"to reject with a"
,
"to reject with an"
,
"to be rejected with a"
,
"to be rejected with an"
,
]
,
ZodCustom
<
Constructor
,
Constructor
>
,
]
,
(
subject
:
PromiseLike
<
unknown
>
,
ctor
:
Constructor
,
)
=>
Promise
<
|
{
actual
?:
undefined
;
expected
?:
undefined
;
message
:
string
}
|
{
actual
:
string
;
expected
:
string
;
message
:
string
}
|
undefined
,
>
,
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to reject with a"
,
"to reject with an"
,
"to be rejected with a"
,
"to be rejected with an"
,
]
,
>
,
ZodCustom
<
Constructor
,
Constructor
>
,
]
,
>
,
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
readonly
[
"to reject with error satisfying"
,
"to be rejected with error satisfying"
,
]
,
ZodUnknown
,
]
,
(
subject
:
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
param
:
unknown
,
)
=>
Promise
<
|
{
message
:
string
;
schema
?:
undefined
;
subject
?:
undefined
}
|
{
message
?:
undefined
;
schema
:
ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
;
subject
:
{}
|
null
;
}
,
>
,
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to reject with error satisfying"
,
"to be rejected with error satisfying"
,
]
,
>
,
ZodUnknown
,
]
,
>
,
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
readonly
[
"to reject with error satisfying"
,
"to be rejected with error satisfying"
,
]
,
ZodUnknown
,
]
,
(
subject
:
PromiseLike
<
unknown
>
,
param
:
unknown
,
)
=>
Promise
<
|
{
message
:
string
;
schema
?:
undefined
;
subject
?:
undefined
}
|
{
message
?:
undefined
;
schema
:
ZodType
<
unknown
,
unknown
,
$ZodTypeInternals
<
unknown
,
unknown
>
>
;
subject
:
{}
|
null
;
}
,
>
,
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to reject with error satisfying"
,
"to be rejected with error satisfying"
,
]
,
>
,
ZodUnknown
,
]
,
>
,
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
readonly
[
"to fulfill with value satisfying"
,
"to resolve with value satisfying"
,
]
,
ZodUnknown
,
]
,
(
promise
:
PromiseLike
<
unknown
>
,
param
:
unknown
,
)
=>
Promise
<
|
{
message
:
string
;
schema
?:
undefined
;
subject
?:
undefined
}
|
{
message
?:
undefined
;
schema
:
ZodType
<
any
,
unknown
,
$ZodTypeInternals
<
any
,
unknown
>
>
;
subject
:
unknown
;
}
,
>
,
readonly
[
ZodCustom
<
PromiseLike
<
unknown
>
,
PromiseLike
<
unknown
>
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to fulfill with value satisfying"
,
"to resolve with value satisfying"
,
]
,
>
,
ZodUnknown
,
]
,
>
,
AssertionFunctionAsync
<
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
readonly
[
"to fulfill with value satisfying"
,
"to resolve with value satisfying"
,
]
,
ZodUnknown
,
]
,
(
subject
:
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
param
:
unknown
,
)
=>
Promise
<
|
{
message
:
string
;
schema
?:
undefined
;
subject
?:
undefined
}
|
{
message
?:
undefined
;
schema
:
ZodType
<
any
,
unknown
,
$ZodTypeInternals
<
any
,
unknown
>
>
;
subject
:
unknown
;
}
,
>
,
readonly
[
ZodCustom
<
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
(
...
args
:
unknown
[]
|
readonly
unknown
[]
)
=>
unknown
,
>
,
PhraseLiteralChoiceSlot
<
readonly
[
"to fulfill with value satisfying"
,
"to resolve with value satisfying"
,
]
,
>
,
ZodUnknown
,
]
,
>
,
]
= ...
Tuple of all built-in
Promise
-based parametric assertions.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
BUPKIS
Loading...
Tuple of all built-in
Promise-based parametric assertions.