1 | var annotate = require('annotate');
|
2 | var is = require('annois');
|
3 |
|
4 |
|
5 | module.exports = annotate('acos', 'Returns the arccosine (in radians) of a number').
|
6 | on(function betweenOnes(a) {
|
7 | return is.number(a) && -1 <= a && a <= 1;
|
8 | }, Math.acos);
|