You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{validateRUN}from'your/dir/file.ts';construn: string='11.111.111-1';// also can be '11111111-1' or '111111111'constresponse: boolean=validateRUN({run});console.log(response);// true or false// if detects an error, print the console log will print it, you can handle it in the catch
digito verificador aparte
import{validateRUN,IRun}from'your/dir/file.ts';constpayload: IRun={run: '11.111.111',// also can be a number or string without dotsdv: '1'// also can be a number};constresponse: boolean=validateRUN(payload);console.log(response);// true or false// if detects an error, print the console log will print it, you can handle it in the catch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters