local D={}function D.GetKeybindValidator(D)return function(D)local Y=Enum.KeyCode[D]and true or false if not Y then return("\073\110\118\097\108\105\100 \075\101\121\067\111\100\101 \037\113"):format(D)end end end return D
---
---Utility for Macro Fields
---
---@class FieldsUtil
---
local FieldsUtil = {}

--------------------------------------------------
-- Types
-- ...

--------------------------------------------------
-- Dependencies
-- ...

--------------------------------------------------
-- Constants
-- ...

--------------------------------------------------
-- Members
-- ...

---
---@return fun(value:string):string
---
function FieldsUtil:GetKeybindValidator()
    return function(keyCodeName)
        local isValidKeyCodeName = Enum.KeyCode[keyCodeName] and true or false
        if not isValidKeyCodeName then
            return ("Invalid KeyCode %q"):format(keyCodeName)
        end
    end
end

return FieldsUtil
