rhodonite
    Preparing search index...

    Function assertHas

    • Assertion function that throws if the provided Option is None. This is useful for cases where you need to assert that an Option contains a value.

      Parameters

      • value: Option<any>

        The Option to check

      Returns asserts value is Some<any>

      If the Option is None