View isEvenOdd.php
if (! function_exists('isEvenOdd')) {
/**
* Determine if given number even or odd
*
* @param float|int $number
*
* @return string|InvalidArgumentException
*/
function isEvenOdd($number)
View mongodb_cheat_sheet.md

Mongodb Cheat Sheet

Insert

Insert one

db.users.insert(
    {_id: 1, name: 'alex'}
)