isEntryPointVersion

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

Import

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

Usage

1import { isEntryPointVersion } from "@aa-sdk/core";
2
3const valid = isEntryPointVersion("0.6.0");
4const 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