mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Docs for Match.Integer
This commit is contained in:
@@ -2344,10 +2344,15 @@ The following patterns can be used as pattern arguments to `check` and `Match.te
|
||||
Matches any value.
|
||||
{{/dtdd}}
|
||||
|
||||
{{#dtdd "<code>Match.Integer</code>"}}
|
||||
Matches signed 32-bit integer.
|
||||
{{/dtdd}}
|
||||
|
||||
{{#dtdd "<code>String</code>, <code>Number</code>, <code>Boolean</code>, <code>undefined</code>, <code>null</code>"}}
|
||||
Matches a primitive of the given type.
|
||||
{{/dtdd}}
|
||||
|
||||
|
||||
{{#dtdd "<code>[<em>pattern</em>]</code>"}}
|
||||
A one-element array matches an array of elements, each of which match
|
||||
*pattern*. For example, `[Number]` matches a (possibly empty) array of numbers;
|
||||
|
||||
Reference in New Issue
Block a user