Skip to content

Commit 330207b

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

File tree

2 files changed

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

2 files changed

+5
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/output-policy-resolve-str/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 policy string associated with a supported ndarray data type policy value.
23+
> Return the policy string 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-str' );
4242

4343
#### resolve( dtype )
4444

45-
Returns the policy string associated with an ndarray data type policy value.
45+
Returns the policy string 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' );
@@ -134,6 +134,8 @@ v = resolve( str2enum( 'complex_floating_point' ) );
134134

135135
<section class="links">
136136

137+
[@stdlib/ndarray/output-dtype-policies]: https://github.com/stdlib-js/stdlib
138+
137139
</section>
138140

139141
<!-- /.links -->

lib/node_modules/@stdlib/ndarray/base/output-policy-resolve-str/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)