Scenic.ViewPort.Input.validate

You're seeing just the function validate, go back to Scenic.ViewPort.Input module for more information.

Specs

validate(input :: t()) :: :ok | {:error, :invalid}

Validate an input message.

Returns :ok if the message is valid.

Returns {:error, :invalid} if the message is not valid.