Ensure that string is finished with /
find all files with specific ending
flat comparison of two objects (fast for comparing objects with primitive values, only first level)
get base_url config without ending slash
check if 'saltcorn' is in the PATH env or build a full path
returns the session id
create a hash from a state object so that views with identical type can be uniquely identified "_page", "_pagesize", "_sortby", "_sortdesc" are ecxluded
create a sha1 hash from a string
returns true if it's a node enviroment, false if it's webpack bundled code
FunctionisStale: (date: string | Date, hours?: number) => booleanreturns true if it's node and not a 'saltcorn mobile requeset' a saltcorn mobile request is identified by the smr header
merges the arrays from 'lhs' and 'rhs'
Mobile helper to render views with the 'mobile_render_server_side' flag server-side
Compare objects (for Array.sort) by property name or function