Pinned Loading
-
isArabic: check if a text contains a...
isArabic: check if a text contains any Arabic letter 1export function isArabic(text: string) {
2const arabicPattern =
3/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/;
4return arabicPattern.test(text);
5}
-
Auth0 Guard with GraphQL in NestJS
Auth0 Guard with GraphQL in NestJS 1/*
2---------------
3.env
4---------------
5AUTH0_JWKS_URI=https://your-domain.auth0.com/.well-known/jwks.json
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.