hasActionPayload() — astro Function Reference
Architecture documentation for the hasActionPayload() function in utils.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 1622bb87_6609_5f2f_13ec_e229400ec591["hasActionPayload()"] 0ac2db55_946e_5ee0_0aac_261f857d2b76["utils.ts"] 1622bb87_6609_5f2f_13ec_e229400ec591 -->|defined in| 0ac2db55_946e_5ee0_0aac_261f857d2b76 181edd2e_92bd_e256_8063_c308b131333c["createGetActionResult()"] 181edd2e_92bd_e256_8063_c308b131333c -->|calls| 1622bb87_6609_5f2f_13ec_e229400ec591 style 1622bb87_6609_5f2f_13ec_e229400ec591 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/actions/utils.ts lines 8–10
export function hasActionPayload(locals: APIContext['locals']): locals is ActionsLocals {
return '_actionPayload' in locals;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does hasActionPayload() do?
hasActionPayload() is a function in the astro codebase, defined in packages/astro/src/actions/utils.ts.
Where is hasActionPayload() defined?
hasActionPayload() is defined in packages/astro/src/actions/utils.ts at line 8.
What calls hasActionPayload()?
hasActionPayload() is called by 1 function(s): createGetActionResult.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free