(sentence: ISentence, argKey: string)
| 15 | } |
| 16 | |
| 17 | export function getNumberArgByKey(sentence: ISentence, argKey: string): number | null { |
| 18 | const argValue = getSentenceArgByKey(sentence, argKey); |
| 19 | return toSafeNumber(argValue); |
| 20 | } |
| 21 | |
| 22 | export function getStringArgByKey(sentence: ISentence, argKey: string): string | null { |
| 23 | const argValue = getSentenceArgByKey(sentence, argKey); |
no test coverage detected