aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Helpers/LanguageHelper.cs
blob: b0156b8b6dcb23973232eed3e1f833734685aea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using System.Linq;

namespace Timeline.Helpers
{
    public static class LanguageHelper
    {
        public static bool AreSame(this bool firstBool, params bool[] otherBools)
        {
            return otherBools.All(b => b == firstBool);
        }
    }
}