A (list, bool) tuple. The list is a normalized, shallow copy of the
argument. The boolean is True if the argument was a sequence, False
if it was a single object.
Raises
AssertionError
types includes list or tuple.
BadArgumentError
arg is not an instance or sequence of one of the given
types.
[[["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."],[[["This function, `NormalizeAndTypeCheck`, validates and standardizes an input argument based on specified types."],["It accepts an `arg` (an instance or iterable) and `types` (allowed type or types), returning a list and a boolean."],["The returned list is a normalized copy of the input, while the boolean indicates if the input was a sequence or single object."],["The function raises `AssertionError` if 'types' include a list or tuple and `BadArgumentError` if the input does not match the specified types."]]],[]]