Skip to content

sgohlke/isAdult

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isAdult

Note: This is just an example for publishing an npm library using Github actions. It is not recommended to use it in production code!

Functions

  • isAdult(age): Given an age, checks if the person is considered an adult. (deprecated: Use isAdultInCountry instead)
  • isAdultInCountry(age, country): Given an age and country, checks if the person is considered an adult in the given country.

About

Given an age, checks if a person is considered an adult

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •