class ActionController::Parameters
def permitted_scalar?(value)
Experimental RBS support (using type sampling data from the type_fusion
project).
def permitted_scalar?: (String value) -> true
This signature was generated using 1 sample from 1 application.
def permitted_scalar?(value) PERMITTED_SCALAR_TYPES.any? { |type| value.is_a?(type) } end