UNPKG
@deserialize/auction-sdk
Version:
latest (1.4.12)
1.4.12
1.4.11
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.1
1.4.0
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
An SDK for Auction on SVMs
@deserialize/auction-sdk
/
src
/
helper
/
check-enum-status.helper.ts
3 lines
•
147 B
text/typescript
View Raw
1
2
3
export
function
checkEnumState
(
status
: {[key:
string
]: {}},
comparator
:
string
):
boolean
{
if
(status.
hasOwnProperty
(comparator))
return
true
; }