We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a18feeb commit bb75a45Copy full SHA for bb75a45
1 file changed
lib/node_modules/@stdlib/array/shape/README.md
@@ -55,6 +55,19 @@ var shape = arrayShape( arr );
55
// returns [ 3, 3 ]
56
```
57
58
+The function **ignores** inconsistent dimensions.
59
+
60
+```javascript
61
+var arr = [
62
+ [ 1, 2, 3 ],
63
+ [ 4, 5, 6 ],
64
+ [ 7, 8 ]
65
+];
66
67
+var shape = arrayShape( arr );
68
+// returns [ 3 ]
69
+```
70
71
</section>
72
73
<!-- /.usage -->
0 commit comments