ShareCopy to ClipboardRawPreviewconst randomBoolean = () => Math.random() >= 0.5; Random boolean00gioyikCodiga's TypeScript RecipesGenerates a random boolean value.0 CommentsAdd CommentLog in to add a comment