From 0613902f79bc4782ff8a94f0992593af2bb525c3 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Fri, 6 Apr 2018 18:28:20 +0300 Subject: [PATCH] doc: add and unify return statements in crypto.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Conform return statements to the style guide and tool parsers. Also bring back a description fragment that seems to be erroneously deleted in https://github.com/nodejs/node/commit/1e07acd476309e7ddc4981160b89731b61a31179 PR-URL: https://github.com/nodejs/node/pull/19853 Reviewed-By: James M Snell Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Gibson Fahnestock Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater Reviewed-By: Tobias Nießen --- doc/api/crypto.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index b17789ba4c07d5..d3ece4de407c4e 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1673,9 +1673,8 @@ console.log(aliceSecret === bobSecret); - -Returns `true` if and only if a FIPS compliant crypto provider is -currently in use. +- Returns: {boolean} `true` if and only if a FIPS compliant crypto provider is + currently in use. ### crypto.getHashes()