@sgohlke/isadult
v0.1.4
Published
Check if a person is an adult
Downloads
2
Readme
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.