utilscommonabRandomOn this pageabRandom A function that returns either 0 or 1 with a 50% probability. It can be used when performing A/B testing. Code 🔗 View source code Interface typescriptconst abRandom: () => 0 | 1 Usage typescriptimport { abRandom } from '@modern-kit/utils';const ab = abRandom();