How can I know if the typing pattern is recorded on a mobile or on a desktop?

After recording the typing pattern, use the function tdna.isMobile() on our JavaScript recorder. This will return a boolean value if the typing pattern was recorded on a mobile device.