export function isEditionKey()

in packages/shared-types.ts [16:19]


export function isEditionKey(key: string | undefined): key is EditionKey {
	// @ts-expect-error This is a type predicate so we should allow that key might not be a valid EditionKey
	return !!key && EDITION_KEYS.includes(key);
}