Nuno Maduro introduced on X that Bug v2.16 is currently out. This upgrade comes loaded with indigenous features sustain on the arc plugin, fresh assumptions, as well as much more. Below is a fast instance of the brand-new functions:
anticipate(['die', 'eval', 'sleep'])->> not->> toBeUsed();
anticipate(' abcDef')->> toBeCamelCase();
anticipate(' abc-def')->> toBeKebabCase();
anticipate(' abc_def')->> toBeSnakeCase();
anticipate(' AbcDef')->> toBeStudlyCase();
anticipate(' 9001 ')->> toBeDigits(); // fell short as a result of the area.
anticipate(' 9001')->> toBeDigits(); // real
Bug Indigenous Features Assistance
You can currently see to it that particular indigenous features aren’t made use of in your application:
anticipate(['die', 'eval', 'sleep'])
->> not
->> toBeUsed();
Bug String Situation Assumptions
This suggests you can conveniently look for points like “toBeCamelCase”, “toBeSnakeCase”, as well as much more:
anticipate(' abcDef')->> toBeCamelCase();
anticipate(' abc-def')->> toBeKebabCase();
anticipate(' abc_def')->> toBeSnakeCase();
anticipate(' AbcDef')->> toBeStudlyCase();
Bug anticipate string to be numbers
Required to validate if an offered string consists of just numbers?
anticipate(' 9001 ')->> toBeDigits(); // stops working as a result of the area.
anticipate(' 9001')->> toBeDigits); // success