From e42702c4bea2226acd9da92d89b761b6c6d681f4 Mon Sep 17 00:00:00 2001 From: Michal Miszczyszyn Date: Thu, 24 Mar 2016 00:03:14 +0100 Subject: [PATCH] Use jsdoc instead --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 158c8212..98871222 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,10 @@ 'use strict'; -// isThirteen :: Int -> Bool +/** + * @param n {number} The number to compare + * @param strictEquality {boolean} Whether strict equality should be used + * @returns {boolean} + */ function isThirteen(n, strictEquality) { return (strictEquality === true) ? n === 13 : n == 13; }