Skip to content

Commit

Permalink
feat: added object extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
aochmann committed Feb 15, 2021
1 parent cc9692b commit 3019c6c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Source/Cogworks.Essentials/Extensions/ObjectExtensions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace Cogworks.Essentials.Extensions
{
public static class ObjectExtensions
{
public static bool HasValue(this object input)
=> input != null;
}
}

0 comments on commit 3019c6c

Please sign in to comment.