(sentence: ISentence, argKey: string)
| 10 | } |
| 11 | |
| 12 | export function getBooleanArgByKey(sentence: ISentence, argKey: string): boolean | null { |
| 13 | const argValue = getSentenceArgByKey(sentence, argKey); |
| 14 | return toSafeBoolean(argValue); |
| 15 | } |
| 16 | |
| 17 | export function getNumberArgByKey(sentence: ISentence, argKey: string): number | null { |
| 18 | const argValue = getSentenceArgByKey(sentence, argKey); |
no test coverage detected