UNPKG

@technobuddha/library

Version:
12 lines (11 loc) 444 B
/** * Determine the group code (A-Z, [] or #) to place an item under * @remarks The group code is made by taking the first letter of the *description*. As a special * case descriptions starting with '[' are grouped under [] and anything that isn't a letter is grouped * under #. * @param input - a description * @returns The group code * @group String * @category Analysis */ export declare function groupCode(input: string): string;