From 27ff329981d0984ea549483fae121884fd53123c Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 24 Apr 2022 11:30:13 +0100 Subject: [PATCH] Prettify --- packages/core/pattern.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/pattern.mjs b/packages/core/pattern.mjs index cef59383..1d1297a5 100644 --- a/packages/core/pattern.mjs +++ b/packages/core/pattern.mjs @@ -777,7 +777,7 @@ export class Pattern { // TODO - adopt value.mjs fully.. function _composeOp(a, b, func) { function _nonFunctionObject(x) { - return x instanceof Object && (!(x instanceof Function)) + return x instanceof Object && !(x instanceof Function); } if (_nonFunctionObject(a) || _nonFunctionObject(b)) { if (!_nonFunctionObject(a)) { @@ -800,7 +800,7 @@ const composers = { mul: (a, b) => a * b, div: (a, b) => a / b, mod: mod, - func: (a, b) => b(a) + func: (a, b) => b(a), }; for (const [name, op] of Object.entries(composers)) {