mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 11:15:49 +00:00
- Removed now obsolete file
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
|
||||
isAmountObject : function (arg) {
|
||||
const keys = Object.keys(arg).sort()
|
||||
return (
|
||||
keys.length === 3 &&
|
||||
keys[0] === 'currency' &&
|
||||
keys[1] === 'issuer' &&
|
||||
keys[2] === 'value'
|
||||
)
|
||||
},
|
||||
|
||||
sortFuncCanonical : function (a, b) {
|
||||
a = this.fieldSortKey(a)
|
||||
b = this.fieldSortKey(b)
|
||||
return a.typeCode - b.typeCode || a.fieldCode - b.fieldCode
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user