function isHtmx
isHtmx(request: Request): booleanChecks if the request is an HTMX request by looking for the "HX-Request" header.
requestThe incoming request object.
true if the request is an HTMX request, otherwise false.
Version 0.2.1
helpers/is-htmxfunction isHtmxisHtmx(request: Request): booleanChecks if the request is an HTMX request by looking for the "HX-Request" header.
requestThe incoming request object.
true if the request is an HTMX request, otherwise false.