/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
export function ifRequestId(f) {
    return (req) => {
        var _a;
        const reqId = (_a = req.request.requestId) === null || _a === void 0 ? void 0 : _a.value;
        if (reqId != null) {
            f(reqId)(req);
        }
    };
}
export function ifDrawFrame(f) {
    return (req) => {
        const { drawFrame } = req.request;
        if (drawFrame != null) {
            f(drawFrame)(req);
        }
    };
}
//# sourceMappingURL=utils.js.map
