Skip to main content

existenceToInt variable

converts boolean existence param to integer if true - 1, else - 0

Signature:

existenceToInt: (b: boolean) => number