MCPcopy Create free account
hub / github.com/cutelyst/cutelyst / numeric

Method numeric

tests/testvalidator.cpp:921–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919 // ***** Endpoint for ValidatorNumeric ******
920 C_ATTR(numeric, :Local :AutoArgs)
921 void numeric(Context *c)
922 {
923 Validator v({new ValidatorNumeric(u"field"_s, m_validatorMessages)});
924 checkResponse(c, v.validate(c));
925 }
926
927 // ***** Endpoint for ValidatorPresent ******
928 C_ATTR(present, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected