Module: Natsuzora::Contract::ScalarType

Defined in:
lib/natsuzora/contract/scalar_type.rb

Overview

Scalar type enumeration.

Constant Summary collapse

STRING =

String type only

:string
INTEGER =

Integer type only

:integer
BOOL =

Boolean type only (for truthiness checks)

:bool
SCALAR =

String or Integer (stringifiable values, does NOT include bool)

:scalar