useful-utils-typescript
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Image Image

Image

Yüklemek İçin

npm install useful-utils-typescript

Nasıl Kullanılır? 💫

JS

const Useful = require("useful-utils-typescript");
const util = new Useful.Utils();

console.log(util.matematik(20, "+" ,11)) 
console.log(util.matematik(20, "-" ,11)) 
console.log(util.matematik(20, "*" ,11))
console.log(util.matematik(20, "/" ,11))
console.log(util.matematik(20, "%" ,11))

console.log(util.kufurKontrol("Selam")) // return false

let data = ["31","3150","31150","94994498"]

console.log(util.buyuktenKucuge(data))
console.log(util.kucuktenBuyuge(data))

console.log(util.esGec("Ab Meraba 31313131",5))
console.log(util.sondanEsGec("Ab Meraba 31313131",5))

 console.log(util.arrayKontrol(["arrayKontrol"])) // return true
 console.log(util.arrayKontrol("arrayKontrol")) // return false 

console.log(util.yukariYuvarla(1.9))
console.log(util.assagiYuvarla(1.5))
console.log(util.yuvarla(1.9))
console.log(util.kök(144))
let str = "144";
console.log(typeof util.numaraCevir(str))

Discord: Mert^^#2196

/useful-utils-typescript/

    Package Sidebar

    Install

    npm i useful-utils-typescript

    Weekly Downloads

    5

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    7.14 kB

    Total Files

    6

    Last publish

    Collaborators

    • mert..1010