isBool method

bool isBool()

Checks if string is boolean.

Implementation

bool isBool() => ValidatorUtils.isBool(this);