Skip to content

Endo API documentation - v0.2.0 / Exports / ses / AssertionFunctions

Interface: AssertionFunctions ​

ses.AssertionFunctions

Callable ​

AssertionFunctions ​

▸ AssertionFunctions(value, details?, errConstructor?, options?): asserts value

Parameters ​

NameType
valueany
details?Details
errConstructor?GenericErrorConstructor
options?AssertMakeErrorOptions

Returns ​

asserts value

Defined in ​

types.d.ts:190

Table of contents ​

Properties ​

Methods ​

Properties ​

typeof ​

• typeof: AssertTypeof

Defined in ​

types.d.ts:196

Methods ​

equal ​

▸ equal(left, right, details?, errConstructor?, options?): void

Parameters ​

NameType
leftany
rightany
details?Details
errConstructor?GenericErrorConstructor
options?AssertMakeErrorOptions

Returns ​

void

Defined in ​

types.d.ts:197


fail ​

▸ fail(details?, errConstructor?, options?): never

Parameters ​

NameType
details?Details
errConstructor?GenericErrorConstructor
options?AssertMakeErrorOptions

Returns ​

never

Defined in ​

types.d.ts:205


string ​

▸ string(specimen, details?): asserts specimen is string

Parameters ​

NameType
specimenany
details?Details

Returns ​

asserts specimen is string

Defined in ​

types.d.ts:204