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

x/iam_policies/src/conditionOperators/numeric/numericEquals.ts>numericEquals

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

Exact numeric matching.

Examples

Example 1

numericEquals(5, 5)
// => true

numericEquals(2, 4)
// => false

Parameters

data: number

The value to be compared.

expected: number

The expected value.

Returns

boolean

Returns true if value is equal to expected value.