Add JSDoc

pull/73/head
MillenniumEarl 2021-02-17 09:04:56 +01:00
parent c1de074d3b
commit ae3473e587
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ export default class PrefixParser {
return upperArr.includes(element); return upperArr.includes(element);
} }
/**
* Search within the platform prefixes for the
* desired element and return the dictionary that contains it.
* @param element Element to search in the prefixes as a key or as a value
*/
searchElementInPrefixes(element: string | number): DictType | null { searchElementInPrefixes(element: string | number): DictType | null {
// Local variables // Local variables
let dictName = null; let dictName = null;