Copyright 2015-2021 JC Fisher
import isnumber from "./isnumber"; import { ERRORTYPES as error } from "./error";
TAN computes the tagent of a value.
export default function tan(value) { if (!isnumber(value)) { return error.value; } return Math.tan(value); }