@twinfinity/coreFunctionsisFailureisFailure CallableisFailure<E>(resultOrFailure: unknown): resultOrFailure is Failure<E>Checks if a value is a Failure or not. A Failure is a value that was created with the Fail function.Type parametersEParametersresultOrFailure: unknownvalue to check if it is a Fail‘ure nor not.Returns resultOrFailure is Failure<E>
Checks if a value is a Failure or not. A Failure is a value that was created with the Fail function.