UNPKG

gerador-br

Version:
18 lines (14 loc) 457 B
'use strict'; var dbGeneral = require('../data/db-general.cjs'); var utils = require('../utils.cjs'); /** * Gera um tipo sanguíneo aleatório. * @type {string} * @returns {string} - Um tipo sanguíneo aleatório. * @example * console.log(tipoSanguineo()); // Retorna qualquer tipo sanguíneo, como "A+", "O-", etc. */ function tipoSanguineo() { return utils.getRandom(dbGeneral.tiposSanguineo); } exports.tipoSanguineo = tipoSanguineo;