California Codes, Code of Civil Procedure - CCP, Part 2 — Of Civil Actions, Title 6 — Of the Pleadings in Civil Actions, Chapter 3 — Objections to Pleadings; Denials and Defenses, Article 1 — Objections to Pleadings, Section 430.50
(a) A demurrer to a complaint or cross-complaint may be taken to the whole complaint or cross-complaint or to any of the causes of action stated therein.
(b) A demurrer to an answer may be taken to the whole answer or to any one or more of the several defenses set up in the answer.
Notes
Allows a demurrer to challenge an entire complaint or cross-complaint or any individual cause of action stated in it. A demurrer to an answer may likewise challenge the entire answer or one or more of the separate defenses asserted in that answer.
Use as reference
Lexinter.net | California Code, Code of Civil Procedure - CCP § 430.50 | https://laws.lexinter.net/codes/california/code-of-civil-procedure/part-2/title-6/chapter-3/article-1/section-430-50