Function isEnumShapeSpecifier

  • Checks if the input is an enumShape shape specifier for internal type guarding purposes.

    Parameters

    • maybeSpecifier: unknown

    Returns maybeSpecifier is ShapeEnum<
        [Record<string, string | number>, (string | number)?],
    >