Sanitise a spec for a 'integer'

sanitise_spec_integer(spec)

Arguments

spec

named list object with 'type', 'nbits', etc

Value

Return sanitised spec with any generic default values set