operator >= method

bool operator >=(
  1. String s
)

Checks if the length! of the String is more or equal than the length of s.

Example

String foo = 'Hello';
bool isMoreOrEqual = foo >= 'Hi'; // returns true.

Implementation

///
/// ### Example
///
/// ```dart
/// String foo = 'Hello';
/// bool isMoreOrEqual = foo >= 'Hi'; // returns true.
/// ```
bool operator >=(String s) => length >= s.length;