diff --git a/packages/transducers/src/func/even.ts b/packages/transducers/src/func/even.ts index 47ccee8324..9d30160522 100644 --- a/packages/transducers/src/func/even.ts +++ b/packages/transducers/src/func/even.ts @@ -1,3 +1 @@ -export function even(x: number) { - return (x % 2) === 0; -} +export { isEven as even } from "@thi.ng/checks/is-even"; diff --git a/packages/transducers/src/func/odd.ts b/packages/transducers/src/func/odd.ts index c31d4ba5b1..f2914aff55 100644 --- a/packages/transducers/src/func/odd.ts +++ b/packages/transducers/src/func/odd.ts @@ -1,3 +1 @@ -export function odd(x: number) { - return (x % 2) === 1; -} +export { isOdd as odd } from "@thi.ng/checks/is-odd";