Discover Packages
github.com/tychoish/grip
sometimes
package
Version:
v0.3.8
Opens a new window with list of versions in this module.
Published: Aug 22, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Fifth returns true 20% of the time.
Half returns true 50% of the time.
Percent takes a number (p) and returns true that percent of the
time. If p is greater than or equal to 100, Percent always returns
true. If p is less than or equal to 0, percent always returns false.
Quarter returns true 25% of the time.
Third returns true 33% of the time.
func ThreeQuarters() bool
ThreeQuarters returns true 75% of the time.
TwoThirds returns true 66% of the time.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.