is_postcode_complete: Is the string a full postcode.

Description Usage Arguments Value TODO Examples

Description

Is the string a full postcode.

Usage

1
is_postcode_complete(postcode, ignore_case = FALSE)

Arguments

postcode

A character string.

ignore_case

A boolean.

Value

A boolean.

TODO

Handle case is_postcode_complete("ng22 9qc", ignore_case = TRUE) This postcode is not recognized by the regex but is valid(?)

Examples

1
2
is_postcode_complete("EC2A 3JX")
is_postcode_complete("ec2a", ignore_case = TRUE)

xavier-gilbert/sabre documentation built on May 7, 2021, 12:40 p.m.