|
| 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 | + |
1 | 21 | # REPL Text |
2 | 22 |
|
3 | 23 | > A guide for writing REPL texts. |
@@ -262,6 +282,10 @@ The following parameter types are supported: |
262 | 282 | - `Object`: if a parameter must be an `object`. |
263 | 283 | - `Array`: if a parameter must be an `array`. |
264 | 284 | - `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. |
265 | 289 | - `RegExp`: if a parameter must be a regular expression. |
266 | 290 | - `Date`: if a parameter must be a `Date` object. |
267 | 291 | - `Buffer`: if a parameter must be a Node.js `Buffer` object. |
|
0 commit comments