Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/simplestatistics/index.js>sign

simple statistics for node & browser javascript
Latest
function sign
import { sign } from "https://deno.land/x/simplestatistics@v7.8.3/index.js";

Sign is a function that extracts the sign of a real number

Examples

sign(2); // => 1

Parameters

x

input value