UNPKG

msw

Version:

The industry standard for API mocking in JavaScript.

7 lines (6 loc) • 206 B
/** * Performs a case-insensitive comparison of two given strings. */ export function isStringEqual(actual: string, expected: string): boolean { return actual.toLowerCase() === expected.toLowerCase() }