@nevware21/tripwire - v0.1.2
    Preparing search index...

    Interface IIsTypeOp<R>

    Represents an interface for operations to assert the type of a value.

    interface IIsTypeOp<R> {
        array: AssertFn<R>;
        boolean: AssertFn<R>;
        empty: AssertFn<R>;
        error: ErrorLikeFn<R>;
        extensible: AssertFn<R>;
        false: AssertFn<R>;
        frozen: AssertFn<R>;
        function: AssertFn<R>;
        iterable: AssertFn<R>;
        null: AssertFn<R>;
        number: AssertFn<R>;
        object: AssertFn<R>;
        ok: AssertFn<R>;
        plainObject: AssertFn<R>;
        sealed: AssertFn<R>;
        strictly: IStrictlyOp<R>;
        string: AssertFn<R>;
        true: AssertFn<R>;
        truthy: AssertFn<R>;
        undefined: AssertFn<R>;
    }

    Type Parameters

    • R

    Hierarchy (View Summary)

    Index

    Properties

    array: AssertFn<R>

    Asserts that the value is an array.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    boolean: AssertFn<R>

    Asserts that the value is a boolean.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    empty: AssertFn<R>

    Asserts that the value is empty.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    error: ErrorLikeFn<R>

    Asserts that the value is an error or matches the provided error constructor.

    The error or error constructor to match.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    extensible: AssertFn<R>

    Asserts that the value is extensible.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    false: AssertFn<R>

    Asserts that the value is false.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    frozen: AssertFn<R>

    Asserts that the value is frozen.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    function: AssertFn<R>

    Asserts that the value is a function.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    iterable: AssertFn<R>

    Asserts that the value is iterable.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    null: AssertFn<R>

    Asserts that the value is null.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    number: AssertFn<R>

    Asserts that the value is a number.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    object: AssertFn<R>

    Asserts that the value is an object.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    ok: AssertFn<R>

    Asserts that the value is truthy.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    plainObject: AssertFn<R>

    Asserts that the value is a plain object.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    sealed: AssertFn<R>

    Asserts that the value is sealed.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    strictly: IStrictlyOp<R>

    Provides access to operations to confirm that the value strictly matches the type based on the used assertion operator.

    The custom message to display on evaluation.

    An object that provides operations to assert the value is strictly of the specified operation.

    string: AssertFn<R>

    Asserts that the value is a string.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    true: AssertFn<R>

    Asserts that the value is true.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    truthy: AssertFn<R>

    Asserts that the value is truthy.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.

    undefined: AssertFn<R>

    Asserts that the value is undefined.

    The custom message to display on evaluation.

    The current IAssertScope.that object.

    AssertionFailure - If the assertion fails.