Skip to content

Package provides convenient support functions such as isOdd, isEven and more.

License

Notifications You must be signed in to change notification settings

minhkhoablieu/iamlazy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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": "abc@gmail.com"}')

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.

About

Package provides convenient support functions such as isOdd, isEven and more.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages