MCPcopy Create free account
hub / github.com/pallets/flask / is_boolean

Function is_boolean

tests/test_blueprints.py:502–503  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

500
501 @bp.app_template_test()
502 def is_boolean(value):
503 return isinstance(value, bool)
504
505 app.register_blueprint(bp, url_prefix="/py")
506 assert "is_boolean" in app.jinja_env.tests.keys()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected