(env: Env, keys: string[])
| 25 | * @returns {bool} true if they are all good, false if not |
| 26 | */ |
| 27 | export function ensureEnvKeysAreInt(env: Env, keys: string[]): boolean { |
| 28 | return keys.every((key: string) => env.hasOwnProperty(key) && !isNaN(parseInt(env[key]))) |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Retrieves the current pull request open for this branch from an API |