UNPKG

bmi-utils

Version:

An library with some functions relates to Body Mass Index (BMI), like calculate and get the ideial weight

11 lines (8 loc) 212 B
import * as GENRES from './genres' /** * @method isValidGenre * @param {String} genre * @return {Boolean} */ const isValidGenre = genre => Object.values(GENRES).includes(genre) export default isValidGenre