-- Copyright (C) 2025 ASTRONAND
local lib={}

function lib.create(def)
    local function func(fun)
        if type(fun)=="function" then
            func=fun
        end
        return def
    end
    return func
end

return lib