Function serializeSorts

  • Example

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

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

    Parameters

    Returns string

Generated using TypeDoc