This returns true
if a
and b
are strictly equal.
This can be useful, for example, in templates:
// earth.ori
(region) =>
`The earth's circumference is 40,075 km. ${
if(equals(region, "US"), "(For you Americans, that's 24,901 miles.)")
}`
$ ori earth.ori/GB
The earth's circumference is 40,075 km.
$ ori earth.ori/US
The earth's circumference is 40,075 km. (For you Americans, that's 24,901 miles.)