is_success {result}R Documentation

Checks if an object is of success class

Description

Checks if an object is of success class

Usage

is_success(obj)

Arguments

obj

object to check

Value

TRUE if object is of success class, FALSE otherwise

Examples

is_success(success())
is_success(failure())

[Package result version 0.1.0 Index]