String module

equal_nocase

procedureSource

Whether the two strings are equal when ASCII letters are matched in either case.

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

Parameters

a: string
b: string

Returns

bool
Example↗
assert(equal_nocase("MiXeD", "mixed"));
assert(!equal_nocase("abc", "abcd"));

See also