mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 01:22:54 +00:00
refactor: split api into api, api-cli & api-plugin
This commit is contained in:
@@ -51,7 +51,7 @@ export const typemap: ElasticsearchTypemap = {
|
||||
*/
|
||||
export function isTagType(string_: string): boolean {
|
||||
for (const key in typemap) {
|
||||
if (typemap.hasOwnProperty(key) && typeof typemap[key][string_] !== 'undefined') {
|
||||
if (typemap.hasOwnProperty(key) && typemap[key][string_] !== undefined) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user