MCPcopy Create free account
hub / github.com/dailydotdev/apps / checkLowercaseEquality

Function checkLowercaseEquality

packages/shared/src/lib/strings.ts:43–46  ·  view source on GitHub ↗
(
  value1: string,
  value2: string,
)

Source from the content-addressed store, hash-verified

41export const anchorDefaultRel = 'noopener noreferrer';
42
43export const checkLowercaseEquality = (
44 value1: string,
45 value2: string,
46): boolean => value1?.toLowerCase() === value2?.toLowerCase();
47
48/**
49 * Escapes special regex characters in a string to make it safe for use in RegExp constructor.

Callers 3

DevCardFunction · 0.90
DevCardFooterFunction · 0.90
DevCardStep2Function · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected