Hex Core JS
    Preparing search index...

    Function useHasBeenFalse

    • Returns a boolean indicating whether the given condition has ever been false.

      Parameters

      • condition: TypeOrFunction<boolean>

        The condition or a function that returns the condition to check. If a function is given, evaluation is lazy and the function will not be called again after it has returned false once. The function identity should be stable.

      Returns boolean