UNPKG

@browsery/validator

Version:

Browser compatible 'validator' module

5 lines (4 loc) 187 B
/** * Check if the string is a valid [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) officially assigned language code. */ export default function isISO6391(str: string): boolean;