isCurrency

isCurrency(code: text) 🡒 boolean, pure function

Indicates whether the text value is a recognized currency code.

Example:

table T = with
  [| as Code |]
  [| "EUR" |]
  [| "USD" |]
  [| "AAA" |]

show table "" a1b3 with
  T.Code
  isCurrency(T.Code)

See also