You are here

protected function MatchBase::isDigit in Password Strength 8.2

1 call to MatchBase::isDigit()
MatchBase::getCardinality in src/MatchBase.php
Get token's symbol space.

File

src/MatchBase.php, line 106

Class

MatchBase

Namespace

Drupal\password_strength

Code

protected function isDigit($ord) {
  return $ord >= 0x30 && $ord <= 0x39;
}