Skip to main content
Module

x/unitest/deps.ts>isOdd

🃏 Deno-first universal unit testing framework
Latest
function isOdd
import { isOdd } from "https://deno.land/x/unitest@v1.0.0-beta.82/deps.ts";

Whatever argument is odd or not

isOdd(1) // true
isOdd(0) // false

Parameters

value: number

Returns

boolean