integer function

LivrRule integer(
  1. List<Object?> args,
  2. RuleContext context
)

integer: the value must be an integer. Strings with an integer ('10', '1e3') are accepted, and the output is always an int.

Implementation

LivrRule integer(List<Object?> args, RuleContext context) => _integer;