Skip to main content
Module

x/simplestatistics/src/sign.js>default

simple statistics for node & browser javascript
Go to Latest
function default
import { default } from "https://deno.land/x/simplestatistics@v7.7.5/src/sign.js";

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

Examples

sign(2); // => 1

Parameters

x

input value