diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-02-03 21:56:27 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-02-03 21:56:38 -0400 |
commit | 80ef2108d9ce2ee5bb8c3cae562a7257710a7f23 (patch) | |
tree | f14daa07b516d4f9c9fd7f97cb80c1c1a689c22e /src/thing/validators.js | |
parent | f8e4c8e3ffc6da224699db15d13a02ed8b4e49e5 (diff) |
wiki info
Diffstat (limited to 'src/thing/validators.js')
-rw-r--r-- | src/thing/validators.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/thing/validators.js b/src/thing/validators.js index 49463473..1bc7fd72 100644 --- a/src/thing/validators.js +++ b/src/thing/validators.js @@ -241,6 +241,15 @@ export function isFileExtension(string) { return true; } +export function isLanguageCode(string) { + // TODO: This is a stub function because really we don't need a detailed + // is-language-code parser right now. + + isString(string); + + return true; +} + export function isName(name) { return isString(name); } |