Skip to content

Commit 59c61bc

Browse files
committed
test: update list of policies and add link
1 parent 330207b commit 59c61bc

File tree

2 files changed

+5
-2
lines changed
  • lib/node_modules/@stdlib/ndarray/base/output-policy-resolve-enum

2 files changed

+5
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/output-policy-resolve-enum/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# resolve
2222

23-
> Return the enumeration constant associated with a supported ndarray data type policy value.
23+
> Return the enumeration constant associated with a supported ndarray [data type policy][@stdlib/ndarray/output-dtype-policies] value.
2424
2525
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
2626

@@ -42,7 +42,7 @@ var resolve = require( '@stdlib/ndarray/base/output-policy-resolve-enum' );
4242

4343
#### resolve( policy )
4444

45-
Returns the enumeration constant associated with an ndarray data type policy value.
45+
Returns the enumeration constant associated with an ndarray [data type policy][@stdlib/ndarray/output-dtype-policies] value.
4646

4747
```javascript
4848
var str2enum = require( '@stdlib/ndarray/base/output-policy-str2enum' );
@@ -137,6 +137,8 @@ v = resolve( 'complex_floating_point' );
137137

138138
<section class="links">
139139

140+
[@stdlib/ndarray/output-dtype-policies]: https://github.com/stdlib-js/stdlib
141+
140142
</section>
141143

142144
<!-- /.links -->

lib/node_modules/@stdlib/ndarray/base/output-policy-resolve-enum/test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ var POLICIES = [
3838
'floating_point',
3939
'real_floating_point',
4040
'complex_floating_point',
41+
'real',
4142
'numeric'
4243
];
4344

0 commit comments

Comments
 (0)