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

Method boolean

tests/testvalidator.cpp:496–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494 // ***** Endpoint for ValidatorBoolean ******
495 C_ATTR(boolean, :Local :AutoArgs)
496 void boolean(Context *c)
497 {
498 Validator v({new ValidatorBoolean(u"boolean_field"_s, m_validatorMessages)});
499 checkResponse(c, v.validate(c));
500 }
501
502 // ***** Endpoint for ValidatorCharNotAllowed ******
503 C_ATTR(charNotAllowed, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected