UNPKG

isoddlift

Version:

Returns true unless the lift is squat or deadlift

6 lines (5 loc) 175 B
function isOddLift(lift: string): boolean { const normalized = lift.toLowerCase(); return normalized !== "squat" && normalized !== "deadlift"; } export = isOddLift;