String module

equal

procedureSource

Whether the two strings hold the same bytes. The same as a == b.

equal :: (a: string, b: string) -> bool

Parameters

a: string
b: string

Returns

bool
Example↗
assert(equal("jai", "jai") && !equal("jai", "Jai"));

See also