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

Function checkLowercaseEquality

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

Source from the content-addressed store, hash-verified

47export const anchorNofollowRel = 'noopener noreferrer nofollow';
48
49export const checkLowercaseEquality = (
50 value1: string,
51 value2: string,
52): boolean => value1?.toLowerCase() === value2?.toLowerCase();
53
54/**
55 * 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