src/iso-7064.js
function(rawValue) {
        const value = stringifyInput(rawValue);

        if (!value.match(FORMAT)) {
            throw new Error('Invalid data format; expecting: \'' + FORMAT + '\', found: \'' + value + '\'');
        }

        return mod97(value);
    }
function(rawValue) {
        const value = stringifyInput(rawValue);

        if (!value.match(FORMAT)) {
            throw new Error('Invalid data format; expecting: \'' + FORMAT + '\', found: \'' + value + '\'');
        }

        return mod97(value);
    }
function ( rawValue ) { const value = stringifyInput ( rawValue ) ; if ( ! value . match ( FORMAT ) ) { throw new Error ( 'Invalid data format; expecting: \'' + FORMAT + '\', found: \'' + value + '\'' ) ; } return mod97 ( value ) ; }
Check requirements.
Returns result of modulo 97 applied to the String input rawValue.

Requirements:
- rawValue must be not `Null`
- rawValue must be of type `String`
- rawValue must respect format `^[0-9A-Z]{1,}$`

@param {*} rawValue
Check requirements . Returns result of modulo 97 applied to the String input rawValue .