fedchishina / math-example-lib
dev-master
2020-11-18 10:59 UTC
Requires
- php: >=5.5
This package is auto-updated.
Last update: 2024-05-18 18:22:18 UTC
README
The preferred way to install this extension is through composer:
composer require fedchishina/math-example-lib
Usage
This package based on PHP. Library can check the correctness of the brackets sentence.
use MathExampleLib\Functions\BracketCounter; // tests echo BracketCounter::isCorrectExample('()'); //true echo BracketCounter::isCorrectExample('(())'); //true echo BracketCounter::isCorrectExample('('); //false echo BracketCounter::isCorrectExample('())'); //false
License
The MIT License (MIT). Please see License File for more information.