Skip to content

Commit e3e6adc

Browse files
committed
Add license header and update list of supported types
1 parent 4d2ddc6 commit e3e6adc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/repl_text.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!--
2+
3+
@license Apache-2.0
4+
5+
Copyright (c) 2021 The Stdlib Authors.
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
19+
-->
20+
121
# REPL Text
222

323
> A guide for writing REPL texts.
@@ -262,6 +282,10 @@ The following parameter types are supported:
262282
- `Object`: if a parameter must be an `object`.
263283
- `Array`: if a parameter must be an `array`.
264284
- `Array<type>`: if a parameter must be an `array` containing only values of a particular type.
285+
- `ArrayLike`: if a parameter must be array-like.
286+
- `ArrayLike<type>`: if a parameter must be array-like containing only values of a particular type.
287+
- `ArrayLikeObject`: if a parameter must be an array-like `object`.
288+
- `ArrayLikeObject<type>`: if a parameter must be an array-like `object` containing only values of a particular type.
265289
- `RegExp`: if a parameter must be a regular expression.
266290
- `Date`: if a parameter must be a `Date` object.
267291
- `Buffer`: if a parameter must be a Node.js `Buffer` object.

0 commit comments

Comments
 (0)