This repository has been archived by the owner on Apr 21, 2022. It is now read-only.
Releases: shahoob/functionKit
Releases · shahoob/functionKit
3.4.0
3.3.0
3.2.0
functionKit | What's new
3.2.0
A new function has been added
range()
It's inspired by Python's range function
And it does the same thing.
Also, functionKit now has removed some tools that we're not used.
(Check the commit about version 3.2.0
for more details)
Added functions
functionKit | What's new
3.1.0
A new array function has been added
clean()
It cleans your array from falsy values.
3.0.1: Bug fix
functionKit | What's new?
3.0.1
Well, 1 bug has been discovered.
Bug fixes
app.ts
/app.js
re-exports
Just because i forgot
to re-export other functions.
v3
2.0.0
functionKit | What's new?
2.0.0
:
Some changes were backwards-broken.
Breaking Changes
sum()
A. Inputs/Params
The only change here is that you input an number array (number[]
).
At least 2 numbers in the array.
But this also lets the user to sum more numbers!
New features
- Calculation Functions
A.multiply()
B.calcPercent()
Now you can get a percent from 2 numbers!
Examples:
calcPercent(0.5, 1)
// Returns: 50
calcPercent(0.5, 1, true)
// Returns '50%'
1.1.0
functionKit | What's new?
In 1.1.0
:
New Functions were added.
New features
- Array Functions
A.add()
B.remove()
Well of course nobody would use them right?
But there are some problems.
Problems
- Array Functions
A.remove()
The item removed byremove()
Gets turned intoundefined
,
Breaking jest tests.
The good news is that the tests will not fail,
after being modified.
And for your code, It will detect it'sfalsy
,
Thus, it looks, does not exist, right?
1.0.0: First stable release, ever
Copy files from old repository