[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["\u003cp\u003e\u003ccode\u003eAsValidator\u003c/code\u003e function wraps various data types into validator instances for use in data validation.\u003c/p\u003e\n"],["\u003cp\u003eStrings are converted to \u003ccode\u003eRegex\u003c/code\u003e validators, types are converted to \u003ccode\u003eType\u003c/code\u003e validators, and collections are converted to \u003ccode\u003eOptions\u003c/code\u003e validators.\u003c/p\u003e\n"],["\u003cp\u003eIf the provided input is already a validator, it returns the validator itself, without any changes.\u003c/p\u003e\n"],["\u003cp\u003eThe function will raise an \u003ccode\u003eAttributeDefinitionError\u003c/code\u003e if the input is not a string, type, collection, or a validator.\u003c/p\u003e\n"]]],[],null,[]]