Function deserializeSorts

  • Example

    deserializeSorts('first_name.asc', { separator: '.', transform: 'camelize' });
    // => [{ property: 'firstName', direction: 'ascending' }]

    deserializeSorts('last_name.desc', { separator: '.', transform: 'camelize' });
    // => [{ property: 'lastName', direction: 'descending' }]

    Parameters

    Returns Sort[]

Generated using TypeDoc