UNPKG

aws-cdk

Version:

CDK Toolkit, the command line tool for CDK apps

8 lines (7 loc) 186 B
/** * Converts a boolean into a number. * * @param bool input boolean * @returns 1 if bool is true, and 0 if false */ export declare function numberFromBool(bool: boolean): number;