Enode — API Reference
    Preparing search index...
    • Read the wizard's optional 1RM field.

      Parameters

      • kind: {
            draft: string;
            kind: ExerciseRm1EntryKind | null;
            loadingCtx: LoadContextShape;
            metric:
                | {
                    dimension?: string
                    | null;
                    id?: string | null;
                    rangeMax?: number | null;
                }
                | null
                | undefined;
            system?: UnitSystem;
        }

        what the composition takes (exerciseRm1EntryKind), or null when the field is not offered — the exercise takes none. Then the answer is always none, whatever was typed earlier for another composition.

      Returns CreationRm1Reading

      none for an empty field, invalid for a text that is not a number above 0 and within the range (the create must not go out — the user meant to enter something), else the entry with its request payload.