• The function converts the value of all properties with supplied name into a Uint8Array

    Parameters

    • rulesObject: Record<string, any>

      Rules Object or Array of Rules Object

    • propertyName: string

      name of the properties which have to be converted

    Returns Record<string, any>

    converted Rules