A cohabitation or separation agreement is subject to, and enforceable according to, the law of contract except as otherwise provided by this part.
Example—The effect of mistake, fraud, duress, undue influence or unconscionability in relation to a cohabitation or separation agreement is decided by the law of contract.