IntArray vs BoolArray JS via C# - MultiDim.cs

For a JS multidimensional array of boolean's, would creating a new boolean function (for MultiDim.cs in Standard Assets/Scripts) be better than using the `IntArray` for http://www.unifycommunity.com/wiki/index.php?title=JavascriptMultiDimArrays

 public static int[,] BoolArray (int a, int b) {
        return new bool[a,b];
    }

I would make the separate function yes, though it needs to be bool[,] not int[,] as your paste shows.

Or, possibly better:

public static T[,] TArray<T> (int width, int height)
{
    return new T[width, height];
}

which you would use like this:

var multi = TArray.<boolean>(width, height);