View definition

def Axlsx.validate_unsigned_numeric

Defined in github.com/randym/axlsx/lib/axlsx/util/validators.rb

Description

Requires that the value is a Fixnum Integer or Float and is greater or equal to 0

Parameters:

  • v (Any)

    The value validated

Raises:

  • (ArgumentError)

    raised if the value is not a Fixnun, Integer, Float value greater or equal to 0

validate_unsigned_numeric is referenced in 0 repositories