Skip to content

isEntryPointVersion

Checks if the given value is a valid key of the EntryPointRegistry.

Import

import { isEntryPointVersion } from "@aa-sdk/core";

Usage

import { isEntryPointVersion } from "@aa-sdk/core";
 
const valid = isEntryPointVersion("0.6.0");
const invalid = isEntryPointVersion("0.8.0");

Parameters

value

* The value to be checked

Returns

boolean true if the value is a valid key of EntryPointRegistry, false otherwise