Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

not

import { not } from "https://raw.githubusercontent.com/baetheus/fun/main/boolean.ts";

Negate a given boolean.

@example
import { not } from "./boolean.ts";

const result1 = not(true); // false
const result2 = not(false); // true
function not(ua: boolean): boolean;
§
not(ua: boolean): boolean
[src]

§Parameters

§
ua: boolean
[src]

§Return Type

§
boolean
[src]