Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/iam_policies/src/conditionOperators/string/stringEqualsIgnoreCase.ts>stringEqualsIgnoreCase

Iam policies implementation for create roles and manage permissions
Latest
function stringEqualsIgnoreCase
import { stringEqualsIgnoreCase } from "https://deno.land/x/iam_policies@v4.17.0/src/conditionOperators/string/stringEqualsIgnoreCase.ts";

Exact string matching, ignoring case.

Examples

Example 1

stringEqualsIgnoreCase('hi', 'Hi')
// => true

stringEqualsIgnoreCase('hi', 'no')
// => false

Parameters

data: string

The value to be compared.

expected: string

The expected value.

Returns

boolean

Returns true if value is equal to expected value.