Skip to content

Instantly share code, notes, and snippets.

Avatar

garyvidal garyvidal

View GitHub Profile
@garyvidal
garyvidal / keybase.md
Last active Mar 21, 2020
Fix Sorting issue in xquerrail
View keybase.md
(:~
: Returns a list of packageType
: @return element(packageType)*
:)
declare function model:list($model as element(domain:model), $params as item())
as element(list)?
{
let $listable := fn:not(domain:navigation($model)/@listable eq "false")
return
if(fn:not($listable))