aboutsummaryrefslogtreecommitdiff
path: root/src/matcher
diff options
context:
space:
mode:
Diffstat (limited to 'src/matcher')
-rw-r--r--src/matcher/index.ts1
-rw-r--r--src/matcher/options.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/matcher/index.ts b/src/matcher/index.ts
index 99cc18c..0806907 100644
--- a/src/matcher/index.ts
+++ b/src/matcher/index.ts
@@ -10,6 +10,7 @@ export {
export {
Atom,
+ isPresent as anything,
isNumber as number,
isString as string,
isBoolean as boolean,
diff --git a/src/matcher/options.ts b/src/matcher/options.ts
index 0513eb3..62e4985 100644
--- a/src/matcher/options.ts
+++ b/src/matcher/options.ts
@@ -85,7 +85,7 @@ export const array = (template: TemplateValue, values?: Value[]) => {
const m: Checker = types.function(template)
? template
: match.bind(null, template);
- return values.every(m); //
+ return values.every(m);
};
// tslint:disable-next-line:typedef