Validate Input (lexi.validate_input)

lexi_xray.lexi.validate_input(key, value)[source]

Function to validate the input parameters for LEXI functions

Parameters

keystr

The name of the input parameter

valueany

The value of the input parameter

Returns

bool

True if the input parameter is valid, False otherwise

Raises

ValueError

If the input parameter is not valid