Skip to contents

Check if cf ie "codice fiscale" is valid

CCheck if sc ie "sceltaContraente" is valid.

Usage

validate_cf(cf)

validate_sceltaContraente(sc)

Arguments

cf

codice fiscale aplphanumeric string (valid for both PA and citizens) case insensitive

sc

codice fiscale aplphanumeric string (valid for both PA and citizens) case insensitive

Value

bool

bool

Examples

if (FALSE) {
if (interactive()) {
  validate_cf("slvncl96b06a564a")
  validate_cf("03179300920")
}
}
if (FALSE) {
if (interactive()) {
  validate_sceltaContraente("29-PROCEDURA RISTRETTA SEMPLIFICATA")
  validate_sceltaContraente("29-PROCEDURE RISTRETTA SEMPLIFICATU")
}
}