Share this page

# isIsoVersion

Check if this LrISOMsg corresponds to the specified ISO version.

`public boolean isIsoVersion(ISOVersionEnum isoVersion)`

## Parameters

- isoVersion: The ISO version.

## Return values

This function returns true if the ISO version is the same as the given version, otherwise returns false.

## Example

Copy code

    LrISOMsg m = new LrISOMsg();
    m.setFieldNumber(ISO87Fields.PAN_PRIMARY_ACCOUNT_NUMBER);
    if(m.isIsoVersion(ISOVersionEnum.ISO_87))
                lr.output_message("ISO version 87");
            else
                lr.output_message("Other ISO version");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: