Skip to content

Commit

Permalink
🔥 add math docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amomammadw committed Jan 18, 2024
1 parent 7691551 commit 6418756
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/math.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Math :memo:

## What are flags?

#### bunch of mathematical helpers useful for mathematical problems

## is Odd

```js
import { isOdd } from "type-mate";

console.log(isOdd(24)); // returns false
```

## is Even

```js
import { isEven } from "type-mate";

console.log(isEven(24)); // returns true
```

## Divide

```js
import { divide } from "type-mate";

console.log(divide(24 / 2)); // returns 12
```

0 comments on commit 6418756

Please sign in to comment.