Skip to content

Commit

Permalink
Documentation fix of ActorRefExtensions.IsNobody akkadotnet#6313.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Popov committed Jan 7, 2023
1 parent 0070079 commit a37025f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Akka/Actor/ActorRef.Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ namespace Akka.Actor
public static class ActorRefExtensions
{
/// <summary>
/// Determines if the specified <paramref name="actorRef"/> is valid.
/// Determines if the specified <paramref name="actorRef"/> is invalid.
/// An <paramref name="actorRef"/> is thought to be invalid if it's one of the following:
/// <see langword="null"/>, <see cref="Nobody"/>, and <see cref="DeadLetterActorRef"/>
/// </summary>
/// <param name="actorRef">The actor that is being tested.</param>
/// <returns><c>true</c> if the <paramref name="actorRef"/> is valid; otherwise <c>false</c>.</returns>
/// <returns><c>true</c> if the <paramref name="actorRef"/> is invalid; otherwise <c>false</c>.</returns>
public static bool IsNobody(this IActorRef actorRef)
{
return actorRef is null || actorRef is Nobody || actorRef is DeadLetterActorRef
Expand Down

0 comments on commit a37025f

Please sign in to comment.