Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1 KB

README.md

File metadata and controls

59 lines (38 loc) · 1 KB

Help Me I am Lazy

License

Description

LazyLib is a small library designed to help programmers save time and effort by providing simple functions for common tasks. You don't need to reinvent the wheel - just import and use.

Installation

composer require minhkhoablieu/iamlazy

Available Functions

isOdd

use iAmLazy\HelpMe;

HelpMe::isOdd(5)

isEven

use iAmLazy\HelpMe;

HelpMe::isEven(8)

isJson

use iAmLazy\HelpMe;

HelpMe::isJson('{"name":"abc", "email": "[email protected]"}')

flatten

use iAmLazy\HelpMe;

HelpMe::flatten([[1, 2], [2, 3]])

isPrime

use iAmLazy\HelpMe;

HelpMe::isPrime(7)

Contribution

If you have suggestions or would like to contribute to the library, please open an issue or create a pull request on GitHub.

License

This library is released under the MIT License. See the LICENSE file for more details.