Docs for Match.Integer

This commit is contained in:
Slava Kim
2013-08-02 14:20:38 -07:00
parent 1023a97e07
commit 86022fb06e

View File

@@ -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;